.. include:: ../{{ module }}/index.rst   

Module attributes and functions
-------------------------------

.. automodule:: {{ fullname }}
   :members:
   :undoc-members:

{% block modules %}
{% if modules %}

.. autosummary::
   :recursive:
   :toctree:
   :hidden:
   :template: custom-module-template.rst
   {% for item in modules | reorder_modules %}
   {{ item }}
   {%- endfor %}

.. toctree::
   :hidden:
   {% for item in modules | reorder_modules %}
   {{ item | parse_toctree_name }} <{{ item }}.rst>
   {%- endfor %}

{% endif %}
{% endblock %}

