diff --git a/autoapi/templates/python/method.rst b/autoapi/templates/python/method.rst index 51e7535..e49227e 100644 --- a/autoapi/templates/python/method.rst +++ b/autoapi/templates/python/method.rst @@ -1,6 +1,6 @@ {%- if obj.display %} -.. method:: {{ obj.name }}({{ obj.args[1:]|join(',') }}) +.. method:: {{ obj.short_name }}({{ obj.args[1:]|join(',') }}) {% if obj.docstring %} {{ obj.docstring|prepare_docstring|indent(3) }}