mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Add child display
This commit is contained in:
parent
808c1a090f
commit
181c7ea2a4
@ -13,3 +13,10 @@
|
||||
{%- if obj.returns %}
|
||||
:rtype: {{ obj.returns.id }}
|
||||
{%- endif %}
|
||||
|
||||
{% if obj.children -%}
|
||||
{%- for child in obj.children|sort %}
|
||||
{% macro render_child() %}{{ child.render() }}{% endmacro %}
|
||||
{{ render_child()|indent(4) }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user