Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

render full documentation for module level functions

Benjamin Hackla75587c209c1
diff --git a/docs/source/_templates/autosummary/module.rst b/docs/source/_templates/autosummary/module.rst
index ba44c4759..54a7dfafc 100644
--- a/docs/source/_templates/autosummary/module.rst
+++ b/docs/source/_templates/autosummary/module.rst
@@ -15,17 +15,6 @@
{% endif %}
{% endblock %}
- {% block functions %}
- {% if functions %}
- .. rubric:: {{ _('Functions') }}
-
- .. autosummary::
- {% for item in functions %}
- {{ item }}
- {%- endfor %}
- {% endif %}
- {% endblock %}
-
{% block classes %}
{% if classes %}
.. rubric:: Classes
@@ -39,6 +28,16 @@
{% endif %}
{% endblock %}
+ {% block functions %}
+ {% if functions %}
+ .. rubric:: {{ _('Functions') }}
+
+ {% for item in functions %}
+ .. autofunction:: {{ item }}
+ {%- endfor %}
+ {% endif %}
+ {% endblock %}
+
{% block exceptions %}
{% if exceptions %}
.. rubric:: {{ _('Exceptions') }}