mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
44 lines
759 B
ReStructuredText
44 lines
759 B
ReStructuredText
{% block title %}
|
|
|
|
{{ object.short_name }} {{ object.type.title() }}
|
|
{{ "=" * (object.short_name|length + object.type|length + 1) }}
|
|
|
|
.. dn:{{ object.ref_type }}:: {{ object.name }}
|
|
|
|
{% endblock %}
|
|
|
|
{% block toc %}
|
|
|
|
{% if children %}
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
|
|
{% for item in children %}
|
|
/autoapi/{{ item.id.split('.')|join('/') }}/index
|
|
{%- endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block table %}
|
|
|
|
{% if object.children %}
|
|
|
|
.. list-table:: Members
|
|
:widths: 20, 80
|
|
:header-rows: 1
|
|
|
|
* - Class
|
|
- Description
|
|
{%- for item in object.children|sort %}
|
|
{% macro render() %}{{ item.summary }}{% endmacro %}
|
|
* - :dn:{{ item.ref_directive }}:`{{ item.id }}`
|
|
- {{ render()|indent(7) }}
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|