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

83 lines
1.1 KiB
ReStructuredText
Raw Normal View History

{% block title %}
{{ obj.short_name }} {{ obj.type.title()}}
{{ "=" * (obj.short_name|length + obj.type|length + 1) }}
{% endblock %}
2015-04-17 21:16:46 +00:00
.. contents::
2015-04-24 17:10:36 +00:00
:local:
2015-04-17 21:16:46 +00:00
{% block summary %}
2015-06-22 02:58:29 +00:00
{%- if obj.summary %}
Summary
-------
{{ obj.summary }}
2015-06-22 02:58:29 +00:00
{%- endif %}
{% endblock %}
{% block inheritance %}
{%- if obj.inheritance %}
Inheritance Hierarchy
---------------------
{% for item in obj.inheritance %}
* :dn:{{ item.ref_directive }}:`{{ item.ref_name }}`
{%- endfor %}
* :dn:{{ obj.ref_directive }}:`{{ obj.ref_name }}`
{% endif %}
{% endblock %}
{% block syntax %}
2015-04-24 19:37:00 +00:00
{% if obj.example %}
Syntax
------
.. code-block:: csharp
{{ obj.example }}
{% endif %}
2015-04-24 19:37:00 +00:00
{% endblock %}
2015-04-24 20:16:15 +00:00
GitHub
------
`View on GitHub <{{ obj.edit_link }}>`_
{% block content %}
.. dn:{{ obj.ref_type }}:: {{ obj.name }}
{%- for item_type in obj.item_map.keys() %}
{%- if item_type in obj.item_map %}
{{ item_type.title() }}
{{ "-" * item_type|length }}
.. dn:{{ obj.ref_type }}:: {{ obj.name }}
:noindex:
:hidden:
{% for obj_item in obj.item_map.get(item_type, []) %}
{{ obj_item.render()|indent(4) }}
{% endfor %}
{%- endif %}
{%- endfor %}
{% endblock %}