Skip to content

Commit

Permalink
Fix autosummary template (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep authored Jul 30, 2024
1 parent aa87758 commit 5844892
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
{% block attributes %}
{% if attributes %}
Attributes table
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~

.. autosummary::
{% for item in attributes %}
~{{ fullname }}.{{ item }}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
Expand All @@ -26,7 +26,7 @@ Methods table
.. autosummary::
{% for item in methods %}
{%- if item != '__init__' %}
~{{ fullname }}.{{ item }}
~{{ name }}.{{ item }}
{%- endif -%}
{%- endfor %}
{% endif %}
Expand All @@ -35,7 +35,7 @@ Methods table
{% block attributes_documentation %}
{% if attributes %}
Attributes
~~~~~~~~~~~
~~~~~~~~~~

{% for item in attributes %}

Expand Down

0 comments on commit 5844892

Please sign in to comment.