1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-10-05 14:57:08 +02:00

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.
This commit is contained in:
Alexander Graf 2018-01-13 19:15:32 +01:00
parent 1ca368fa45
commit 39bd7c55f6

10
docs/_templates/page.html vendored Normal file
View File

@ -0,0 +1,10 @@
{% extends "!page.html" %}
{% block body %}
{{ super() }}
{% if next and prev %}
<h2>Next Section</h2>
<p>
<a class="reference internal" href="{{ next.link|e }}">{{ next.title }}</a>
</p>
{% endif %}
{% endblock %}