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

61 lines
817 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 summary %}
Summary
-------
{{ summary }}
{% endblock %}
{% block inheritance %}
Inheritance Hierarchy
---------------------
{% for item in inheritance %}
* :ref:`{{ item.id }}`
{% endfor %}
{% endblock %}
{% block syntax %}
Syntax
------
.. code-block:: csharp
{{ syntax }}
{% endblock %}
{% block content %}
{% if item_map %}
{% for obj_type, obj_list in item_map.items() %}
{{ obj_type }}
{{ "-" * obj_type|length }}
{% for obj_item in obj_list %}
{% macro render() %}{{ obj_item.render() }}{% endmacro %}
{{ render()|indent(0) }}
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %}