mirror of
https://github.com/qemu/qemu.git
synced 2025-08-08 08:05:17 +00:00
docs: add "page source" link to sphinx documentation
Add a link to the top of the sidebar in every docs page that takes the user back to the source code in gitlab. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20201102130926.161183-5-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
d0f26e68a0
commit
704a256da8
5
docs/_templates/editpage.html
vendored
Normal file
5
docs/_templates/editpage.html
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
@ -177,6 +177,7 @@
|
|||||||
html_sidebars = {
|
html_sidebars = {
|
||||||
'**': [
|
'**': [
|
||||||
'about.html',
|
'about.html',
|
||||||
|
'editpage.html',
|
||||||
'navigation.html',
|
'navigation.html',
|
||||||
'searchbox.html',
|
'searchbox.html',
|
||||||
]
|
]
|
||||||
|
5
docs/devel/_templates/editpage.html
Normal file
5
docs/devel/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/devel/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
5
docs/interop/_templates/editpage.html
Normal file
5
docs/interop/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/interop/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
5
docs/specs/_templates/editpage.html
Normal file
5
docs/specs/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/specs/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
5
docs/system/_templates/editpage.html
Normal file
5
docs/system/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/system/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
5
docs/tools/_templates/editpage.html
Normal file
5
docs/tools/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/tools/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
5
docs/user/_templates/editpage.html
Normal file
5
docs/user/_templates/editpage.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div id="editpage">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.com/qemu-project/qemu/-/blob/master/docs/user/{{pagename}}.rst">Page source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user