mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
ffb2130b55
This allows us to output docstrings in a reasonable fashion.
9 lines
183 B
ReStructuredText
9 lines
183 B
ReStructuredText
{%- if obj.display %}
|
|
|
|
.. function:: {{ obj.name }}({{ obj.args|join(',') }})
|
|
|
|
{% if obj.docstring %}
|
|
{{ obj.docstring|prepare_docstring|indent(3) }}
|
|
{% endif %}
|
|
|
|
{% endif %} |