sphinx-autoapi/autoapi/templates/dotnet/base_list.rst

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 %}