1
0
forked from IPKM/nmreval
nmreval/doc/source/_templates/autosummary/class.rst

39 lines
916 B
ReStructuredText
Raw Normal View History

{{ fullname | escape | underline}}
2022-03-22 19:07:59 +00:00
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
2022-10-20 15:23:15 +00:00
:exclude-members: {% for item in methods %}{%- if not item.startswith('_') or item in ['__call__'] %}{{ item }}, {% endif %}{%- endfor %}
2022-03-22 19:07:59 +00:00
2022-10-20 15:23:15 +00:00
{%- block methods %}
{% if methods %}
2022-10-20 15:23:15 +00:00
.. rubric:: Methods
.. autosummary::
:toctree:
2022-03-22 19:07:59 +00:00
{% for item in methods %}
2022-10-20 15:23:15 +00:00
{%- if not item.startswith('_') or item in ['__call__'] %} ~{{ name }}.{{ item }}
{% endif %}
2022-10-20 15:23:15 +00:00
{%- endfor %}
{%- endif %}
{%- endblock %}
2022-10-20 15:23:15 +00:00
{%- block attributes %}
{%- if attributes %}
.. rubric:: Properties
.. autosummary::
2022-10-20 15:23:15 +00:00
:toctree:
{% for item in attributes %}
2022-10-20 15:23:15 +00:00
{%- if not item.startswith('_') or item in ['__call__'] %} ~{{ name }}.{{ item }}
{% endif %}
2022-10-20 15:23:15 +00:00
{%- endfor %}
{%- endif %}
{%- endblock %}
.. _sphx_glr_backref_{{ fullname }}:
.. minigallery:: {{ objname }}
:add-heading: