summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakanori H <takanori17h@gmail.com>2020-10-29 21:57:22 +0900
committerGitHub <noreply@github.com>2020-10-29 21:57:22 +0900
commit05debfd0faf61552152d440676e0fb67041bf881 (patch)
treecac88db51077e75e2f2430f65394ae851fa3ca11
parent888634543fc591f70abfb62e350afbac67b66f6d (diff)
downloadnumpy-05debfd0faf61552152d440676e0fb67041bf881.tar.gz
Update doc/source/_templates/autosummary/module.rst
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
-rw-r--r--doc/source/_templates/autosummary/module.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/_templates/autosummary/module.rst b/doc/source/_templates/autosummary/module.rst
index c2b9e45fb..e1f428d65 100644
--- a/doc/source/_templates/autosummary/module.rst
+++ b/doc/source/_templates/autosummary/module.rst
@@ -1,5 +1,8 @@
{% extends "!autosummary/module.rst" %}
+{# This file is almost the same as the default, but adds :toctree: to the autosummary directives.
+ The original can be found at `sphinx/ext/autosummary/templates/autosummary/module.rst`. #}
+
{% block attributes %}
{% if attributes %}
.. rubric:: Module Attributes
@@ -35,4 +38,3 @@
{%- endfor %}
{% endif %}
{% endblock %}
-