diff --git a/doc/_templates/autofunctions.rst b/doc/_templates/autofunctions.rst index 2f687e253e55..942731b46587 100644 --- a/doc/_templates/autofunctions.rst +++ b/doc/_templates/autofunctions.rst @@ -2,7 +2,8 @@ {{ fullname | escape | underline }} -.. currentmodule:: {{ fullname }} +.. automodule:: {{ fullname }} + :no-members: {% block functions %} {% if functions %} @@ -10,7 +11,7 @@ Functions --------- -.. autosummary:: +.. autosummary:: :template: autosummary.rst :toctree: {% for item in functions %}{% if item not in ['plotting', 'colormaps'] %}