sphinx-autoapi/autoapi/templates/dotnet/base_list.rst
Anthony Johnson 6aa8ced49f Add dl based listing of namespace objects with truncated names
This replaces a table that was constraining text area
2015-04-14 18:37:19 -07:00

38 lines
693 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:
{% 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 %}