2015-04-09 23:40:02 +00:00
|
|
|
{% block title %}
|
|
|
|
|
2015-04-15 01:05:15 +00:00
|
|
|
{{ object.short_name }} {{ object.type.title() }}
|
2015-04-14 23:54:43 +00:00
|
|
|
{{ "=" * (object.short_name|length + object.type|length + 1) }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block toc %}
|
|
|
|
|
|
|
|
{% if children %}
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
2015-04-17 21:16:59 +00:00
|
|
|
:maxdepth: 4
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-17 21:16:59 +00:00
|
|
|
{% for item in children|sort %}
|
2015-04-14 02:11:13 +00:00
|
|
|
/autoapi/{{ item.id.split('.')|join('/') }}/index
|
2015-04-09 23:40:02 +00:00
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-04-17 21:16:59 +00:00
|
|
|
{% block content %}
|
2015-04-15 01:37:19 +00:00
|
|
|
|
2015-04-15 01:05:15 +00:00
|
|
|
{% if object.children %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-17 21:16:59 +00:00
|
|
|
{%- macro display_type(item_type) %}
|
|
|
|
{%- if item_type in item_map %}
|
|
|
|
|
|
|
|
.. rubric:: {{ item_type.title() }}
|
|
|
|
|
|
|
|
{%- for obj_item in item_map.get(item_type, []) %}
|
|
|
|
{% macro render() %}{{ obj_item.summary }}{% endmacro %}
|
|
|
|
{{ obj_item.type }} :dn:{{ obj_item.ref_directive }}:`{{ obj_item.short_name }}`
|
2015-04-15 01:37:19 +00:00
|
|
|
{{ render()|indent(8) }}
|
2015-04-17 21:16:59 +00:00
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
{%- endif %}
|
|
|
|
{%- endmacro %}
|
|
|
|
|
|
|
|
.. dn:{{ object.ref_type }}:: {{ object.name }}
|
|
|
|
|
|
|
|
{%- for item_type in ['class', 'struct', 'delegate', 'enum'] %}
|
|
|
|
{{ display_type(item_type) }}
|
|
|
|
{%- endfor %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
2015-04-17 21:16:59 +00:00
|
|
|
{% endblock %}
|