Fixed incorrect formatting of functions and methods

This commit is contained in:
Ashley Whetter 2019-06-23 11:42:53 -07:00
parent 6d39780ae4
commit 9d45eed4d0

View File

@ -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 %}