Fix templates to nest functions and use short names

pull/113/head
Eric Holscher 7 years ago
parent 316457e9fc
commit 3233bc0ac7

@ -12,7 +12,5 @@ Below is a list of all items that are documented here.
{# Force whitespace #}
{%- for page in pages %}
{%- if page.top_level_object %}
{{ page.include_path }}
{%- endif %}
{{ page }}
{%- endfor %}

@ -1,6 +1,6 @@
{%- if obj.display %}
.. function:: {{ obj.name }}({{ obj.args|join(',') }})
.. function:: {{ obj.short_name }}({{ obj.args|join(',') }})
{% if obj.docstring %}
{{ obj.docstring|prepare_docstring|indent(3) }}

@ -6,6 +6,7 @@
{%- if obj.docstring %}
.. autoapi-nested-parse::
{{ obj.docstring|prepare_docstring|indent(3) }}
{% endif %}

Loading…
Cancel
Save