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/dotnet/base_list.rst

39 lines
710 B
ReStructuredText

{% block title %}
{{ object.short_name }} {{ object.type.title() }}
{{ "=" * (object.short_name|length + object.type|length + 1) }}
{% endblock %}
{% block toc %}
{% if children %}
.. toctree::
:hidden:
10 years ago
:maxdepth: 2
{% for item in children %}
/autoapi/{{ item.id.split('.')|join('/') }}/index
{%- endfor %}
{% endif %}
{% endblock %}
{% block table %}
.. dn:{{ object.ref_type }}:: {{ object.name }}
{% if object.children %}
{%- for item in object.children|sort %}
{% macro render() %}{{ item.summary }}{% endmacro %}
{{ item.type }} :dn:{{ item.ref_directive }}:`{{ item.short_name }}`
{{ render()|indent(8) }}
{% endfor %}
{% endif %}
{% endblock %}