You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sphinx-autoapi/autoapi/templates/python/module.rst

25 lines
366 B
ReStructuredText

{% if obj.docstring or obj.children %}
{{ obj.name }}
{{ "=" * obj.name|length }}
.. py:module:: {{ obj.name }}
{% endif %}
{%- if obj.docstring %}
.. autoapi-nested-parse::
{{ obj.docstring|prepare_docstring|indent(3) }}
{% endif %}
{% block content %}
{%- for obj_item in obj.children %}
{{ obj_item.rendered|indent(0) }}
{%- endfor %}
{% endblock %}