mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Clean up python templates
This commit is contained in:
parent
3c7a80c263
commit
d1dc81b8ba
@ -1,4 +1,4 @@
|
||||
.. class:: {{ obj.name }}{% if obj.args %}({{ obj.args|join(',') }}){% endif %}
|
||||
.. py:class:: {{ obj.name }}{% if obj.args %}({{ obj.args|join(',') }}){% endif %}
|
||||
|
||||
{% if obj.docstring %}
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
.. module:: {{ obj.name }}
|
||||
.. py:module:: {{ obj.name }}
|
||||
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
{%- for obj_item in obj.item_map.get(item_type, []) %}
|
||||
{% macro render() %}{{ obj_item.render() }}{% endmacro %}
|
||||
|
||||
{{ render()|indent(4) }}
|
||||
{{ render()|indent(0) }}
|
||||
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
Loading…
Reference in New Issue
Block a user