Skip to content

Commit c13aeda

Browse files
authored
Merge pull request #9386 from tacaswell/doc_fix_inventory
DOC: tweak template to use automodule (not currentmodule)
2 parents 4a5f927 + af78e98 commit c13aeda

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/_templates/autofunctions.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
{{ fullname | escape | underline }}
33

44

5-
.. currentmodule:: {{ fullname }}
5+
.. automodule:: {{ fullname }}
6+
:no-members:
67

78
{% block functions %}
89
{% if functions %}
910

1011
Functions
1112
---------
1213

13-
.. autosummary::
14+
.. autosummary::
1415
:template: autosummary.rst
1516
:toctree:
1617
{% for item in functions %}{% if item not in ['plotting', 'colormaps'] %}

0 commit comments

Comments
 (0)