documentation now has an 'edit' button
This commit is contained in:
parent
6699387c9b
commit
dc8ec42969
3 changed files with 30 additions and 31 deletions
|
|
@ -60,8 +60,10 @@ doc.item.toc = """
|
|||
# * $url: whatever you did pass through the --docSeeSrcUrl switch (which also
|
||||
# gets variables path/line replaced!)
|
||||
doc.item.seesrc = """ <a
|
||||
href="${url}/${path}#L${line}"
|
||||
class="link-seesrc" target="_blank">Source</a>"""
|
||||
href="${url}/tree/${commit}/${path}#L${line}"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="${url}/edit/devel/${path}#L${line}" class="link-seesrc" target="_blank" >Edit</a>
|
||||
"""
|
||||
|
||||
doc.toc = """
|
||||
<ul class="simple simple-toc" id="toc-list">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue