A community-maintained Python framework for creating mathematical animations.
add the new module template that makes autosummary behave well
leotrs02d0cbb99512
diff --git a/docs/source/_templates/autosummary/module.rst b/docs/source/_templates/autosummary/module.rstnew file mode 100644index 000000000..95eed5735--- /dev/null+++ b/docs/source/_templates/autosummary/module.rst@@ -0,0 +1,64 @@+{{ fullname | escape | underline }}++.. currentmodule:: {{ fullname }}++.. automodule:: {{ fullname }}++ {% block attributes %}+ {% if attributes %}+ .. rubric:: Module Attributes++ .. autosummary::+ {% for item in attributes %}+ {{ item }}+ {%- endfor %}+ {% endif %}+ {% endblock %}++ {% block functions %}+ {% if functions %}+ .. rubric:: {{ _('Functions') }}++ .. autosummary::+ {% for item in functions %}+ {{ item }}+ {%- endfor %}+ {% endif %}+ {% endblock %}++ {% block classes %}+ {% if classes %}+ .. rubric:: Classes++ .. autosummary::+ :toctree: .+ {% for class in classes %}+ {{ class }}+ {% endfor %}++ {% endif %}+ {% endblock %}++ {% block exceptions %}+ {% if exceptions %}+ .. rubric:: {{ _('Exceptions') }}++ .. autosummary::+ {% for item in exceptions %}+ {{ item }}+ {%- endfor %}+ {% endif %}+ {% endblock %}++{% block modules %}+{% if modules %}+.. rubric:: Modules++.. autosummary::+ :toctree:+ :recursive:+{% for item in modules %}+ {{ item }}+{%- endfor %}+{% endif %}+{% endblock %}