mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-17 21:25:35 +00:00
Fixed incorrect formatting of functions and methods
This commit is contained in:
parent
6d39780ae4
commit
9d45eed4d0
@ -1,6 +1,7 @@
|
||||
{% if obj.display %}
|
||||
.. function:: {{ obj.short_name }}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_annotation }}{% endif %}
|
||||
|
||||
|
||||
{% if obj.docstring %}
|
||||
{{ obj.docstring|prepare_docstring|indent(3) }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user