summaryrefslogtreecommitdiff
path: root/_templates
diff options
context:
space:
mode:
Diffstat (limited to '_templates')
-rw-r--r--_templates/globaltoc.html11
-rw-r--r--_templates/localtoc.html13
2 files changed, 24 insertions, 0 deletions
diff --git a/_templates/globaltoc.html b/_templates/globaltoc.html
new file mode 100644
index 0000000..36894a8
--- /dev/null
+++ b/_templates/globaltoc.html
@@ -0,0 +1,11 @@
+{#
+ basic/globaltoc.html
+ ~~~~~~~~~~~~~~~~~~~~
+
+ Sphinx sidebar template: global table of contents.
+
+ :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
+{{ toctree(maxdepth=1) }}
diff --git a/_templates/localtoc.html b/_templates/localtoc.html
new file mode 100644
index 0000000..bc0b79d
--- /dev/null
+++ b/_templates/localtoc.html
@@ -0,0 +1,13 @@
+{#
+ basic/localtoc.html
+ ~~~~~~~~~~~~~~~~~~~
+
+ Sphinx sidebar template: local table of contents.
+
+ :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+{%- if display_toc %}
+ <h3><a href="{{ pathto(master_doc) }}">{{ _('This Section') }}</a></h3>
+ {{ toc }}
+{%- endif %}