sphinx-autoapi/autoapi/templates/python/module.rst

41 lines
542 B
ReStructuredText
Raw Normal View History

{{ obj.name }}
{{ "-" * obj.name|length }}
2015-04-01 00:01:41 +00:00
2015-04-22 17:12:05 +00:00
{% block toc %}
{% if obj.children %}
2015-04-22 17:12:05 +00:00
.. toctree::
:maxdepth: 4
{% for item in obj.children|sort %}
2015-04-22 17:12:05 +00:00
/autoapi/{{ item.id.split('.')|join('/') }}/index
{%- endfor %}
{% endif %}
{% endblock %}
{% if obj.docstring %}
2015-04-01 00:01:41 +00:00
.. rubric:: Summary
{{ obj.docstring }}
2015-04-01 00:01:41 +00:00
{% endif %}
2015-04-23 22:37:02 +00:00
.. py:module:: {{ obj.name }}
2015-04-01 00:01:41 +00:00
{% block content %}
{%- for obj_item in obj.children|sort %}
2015-04-01 00:01:41 +00:00
2015-04-21 05:54:32 +00:00
{% macro render() %}{{ obj_item.render() }}{% endmacro %}
{{ render()|indent(0) }}
2015-04-21 05:54:32 +00:00
{%- endfor %}
{% endblock %}