summaryrefslogtreecommitdiff
path: root/sphinx/templates/apidoc/toc.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/templates/apidoc/toc.rst')
-rw-r--r--sphinx/templates/apidoc/toc.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/sphinx/templates/apidoc/toc.rst b/sphinx/templates/apidoc/toc.rst
new file mode 100644
index 000000000..f0877eeb2
--- /dev/null
+++ b/sphinx/templates/apidoc/toc.rst
@@ -0,0 +1,8 @@
+{{ header | heading }}
+
+.. toctree::
+ :maxdepth: {{ maxdepth }}
+{% for docname in docnames %}
+ {{ docname }}
+{%- endfor %}
+