Skip to content

Commit

Permalink
Remove "__init__" from method list in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Oct 17, 2023
1 parent 9fd6c39 commit fe6a369
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_templates/autosummary/class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@

.. autosummary::
{% for item in methods %}
{% if item != "__init__" %}
~{{ name }}.{{ item }}
{% endif %}
{%- endfor %}
{% endif %}

{% for item in methods %}
{% if item != "__init__" %}
.. automethod:: {{ item }}
{% endif %}
{%- endfor %}
{% endblock %}

Expand Down

0 comments on commit fe6a369

Please sign in to comment.