mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
61 lines
817 B
ReStructuredText
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 %}
|