aboutsummaryrefslogtreecommitdiff
path: root/docs/system
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-11-02 13:09:26 +0000
committerThomas Huth <thuth@redhat.com>2020-11-10 08:51:30 +0100
commit704a256da83d6535fce879ba4137299bbe626e5e (patch)
tree7626a06decdaf5c01e074472991e67f5f01bdc83 /docs/system
parentd0f26e68a0545db5010e8fac7386739a2c7213b3 (diff)
downloadqemu-704a256da83d6535fce879ba4137299bbe626e5e.zip
qemu-704a256da83d6535fce879ba4137299bbe626e5e.tar.gz
qemu-704a256da83d6535fce879ba4137299bbe626e5e.tar.bz2
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>
Diffstat (limited to 'docs/system')
-rw-r--r--docs/system/_templates/editpage.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/system/_templates/editpage.html b/docs/system/_templates/editpage.html
new file mode 100644
index 0000000..6586b2e
--- /dev/null
+++ b/docs/system/_templates/editpage.html
@@ -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>