diff options
| author | takanori-pskq <takanori17h@gmail.com> | 2020-10-10 15:00:04 +0900 |
|---|---|---|
| committer | takanori-pskq <takanori17h@gmail.com> | 2020-10-26 10:50:27 +0900 |
| commit | 888634543fc591f70abfb62e350afbac67b66f6d (patch) | |
| tree | bcb9eed7a5aad8f0d68fe00a73c8e0544242c6e3 /doc/source/_templates | |
| parent | fcba5a6c901717110b9767b418df410d7c8c6e73 (diff) | |
| download | numpy-888634543fc591f70abfb62e350afbac67b66f6d.tar.gz | |
DOC: Add module template
Diffstat (limited to 'doc/source/_templates')
| -rw-r--r-- | doc/source/_templates/autosummary/module.rst | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/source/_templates/autosummary/module.rst b/doc/source/_templates/autosummary/module.rst new file mode 100644 index 000000000..c2b9e45fb --- /dev/null +++ b/doc/source/_templates/autosummary/module.rst @@ -0,0 +1,38 @@ +{% extends "!autosummary/module.rst" %} + +{% block attributes %} +{% if attributes %} + .. rubric:: Module Attributes + + .. autosummary:: + :toctree: + {% for item in attributes %} + {{ item }} + {%- endfor %} +{% endif %} +{% endblock %} + +{% block functions %} +{% if functions %} + .. rubric:: Functions + + .. autosummary:: + :toctree: + {% for item in functions %} + {{ item }} + {%- endfor %} +{% endif %} +{% endblock %} + +{% block classes %} +{% if classes %} + .. rubric:: Classes + + .. autosummary:: + :toctree: + {% for item in classes %} + {{ item }} + {%- endfor %} +{% endif %} +{% endblock %} + |
