sphinx-autoapi/autoapi/templates/python/data.rst
Ashley Whetter a4f798183c Fixed private submodules displaying when private-members turned off
Also fixed whitespace issues in templates.
2019-03-05 22:52:13 -08:00

7 lines
197 B
ReStructuredText

{% if obj.display %}
.. {{ obj.type }}:: {{ obj.name }}
{%+ if obj.value is not none %}:annotation: = {{ obj.value }}{% endif %}
{{ obj.docstring|prepare_docstring|indent(3) }}
{% endif %}