mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Use shortname for methods
This commit is contained in:
parent
5901291d3f
commit
e8514dfee2
@ -1,6 +1,6 @@
|
|||||||
{%- if obj.display %}
|
{%- if obj.display %}
|
||||||
|
|
||||||
.. method:: {{ obj.name }}({{ obj.args[1:]|join(',') }})
|
.. method:: {{ obj.short_name }}({{ obj.args[1:]|join(',') }})
|
||||||
|
|
||||||
{% if obj.docstring %}
|
{% if obj.docstring %}
|
||||||
{{ obj.docstring|prepare_docstring|indent(3) }}
|
{{ obj.docstring|prepare_docstring|indent(3) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user