summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-09 09:55:03 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-09 09:56:19 -0500
commit082cca735b831228a465e9c8e3af65d239b286af (patch)
treeb7a1515f9527751497e68493e67d13ae77ba3550
parentfa28d83678ffe84efcabdb45bac6be39d4d91d98 (diff)
python/docs: use the same links on top as in man pages
I forgot to commit the layout file, because it was gitignored. Fixed now.
-rw-r--r--Makefile.am2
-rw-r--r--src/python-systemd/docs/.gitignore1
-rw-r--r--src/python-systemd/docs/layout.html17
3 files changed, 19 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7b1f17f65a..89768e6c32 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3898,7 +3898,7 @@ doc-sync: all destdir-sphinx
gtkdoc-rebase --html-dir=docs/gudev/html --online
rsync -av --delete docs/gudev/html/ --omit-dir-times $(www_target)/gudev/
rsync -av --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/
- rsync -av --delete --omit-dir-times docs/python-systemd/ $(www_target)/python-systemd/
+ rsync -av --delete --omit-dir-times docs/html/python-systemd/ $(www_target)/python-systemd/
git-tag:
git tag "v$(VERSION)" -m "systemd $(VERSION)"
diff --git a/src/python-systemd/docs/.gitignore b/src/python-systemd/docs/.gitignore
new file mode 100644
index 0000000000..b06a965e6a
--- /dev/null
+++ b/src/python-systemd/docs/.gitignore
@@ -0,0 +1 @@
+!layout.html
diff --git a/src/python-systemd/docs/layout.html b/src/python-systemd/docs/layout.html
new file mode 100644
index 0000000000..78989143ed
--- /dev/null
+++ b/src/python-systemd/docs/layout.html
@@ -0,0 +1,17 @@
+{% extends "!layout.html" %}
+
+{% block relbar1 %}
+ <a href="../man/systemd.index.html">Index </a>·
+ <a href="../man/systemd.directives.html">Directives </a>·
+ <a href="index.html">Python </a>·
+ <a href="../libudev/index.html">libudev </a>·
+ <a href="../libudev/index.html">gudev </a>
+ <span style="float:right">systemd v. {{release}}</span>
+ <hr />
+{% endblock %}
+
+{# remove the lower relbar #}
+{% block relbar2 %} {% endblock %}
+
+{# remove the footer #}
+{% block footer %} {% endblock %}