Use shortname for methods

This commit is contained in:
Eric Holscher 2016-11-04 15:44:47 -07:00
parent 5901291d3f
commit e8514dfee2

View File

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