From 39bd7c55f69e2b7df7c8677043ac1904c27e5870 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sat, 13 Jan 2018 19:15:32 +0100 Subject: [PATCH] doc: link next section at the end of each page This makes it easier to go through the documentation and it pushes readthedocs's advertising further apart from the content. --- docs/_templates/page.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/_templates/page.html diff --git a/docs/_templates/page.html b/docs/_templates/page.html new file mode 100644 index 0000000..0dcd9a5 --- /dev/null +++ b/docs/_templates/page.html @@ -0,0 +1,10 @@ +{% extends "!page.html" %} +{% block body %} +{{ super() }} +{% if next and prev %} +

Next Section

+

+ {{ next.title }} +

+{% endif %} +{% endblock %}