summaryrefslogtreecommitdiffstats
path: root/sphinx/themes/basic/relations.html
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/themes/basic/relations.html')
-rw-r--r--sphinx/themes/basic/relations.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/sphinx/themes/basic/relations.html b/sphinx/themes/basic/relations.html
new file mode 100644
index 0000000..86ed02e
--- /dev/null
+++ b/sphinx/themes/basic/relations.html
@@ -0,0 +1,23 @@
+{#
+ basic/relations.html
+ ~~~~~~~~~~~~~~~~~~~~
+
+ Sphinx sidebar template: relation links.
+
+ :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+{%- if prev %}
+ <div>
+ <h4>{{ _('Previous topic') }}</h4>
+ <p class="topless"><a href="{{ prev.link|e }}"
+ title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
+ </div>
+{%- endif %}
+{%- if next %}
+ <div>
+ <h4>{{ _('Next topic') }}</h4>
+ <p class="topless"><a href="{{ next.link|e }}"
+ title="{{ _('next chapter') }}">{{ next.title }}</a></p>
+ </div>
+{%- endif %}