Fixed incorrect formatting of functions and methods

pull/167/head
Ashley Whetter 5 years ago
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…
Cancel
Save