nmreval/doc/source/_templates/autosummary/class.rst

28 lines
506 B
ReStructuredText
Raw Normal View History

{{ fullname | escape | underline}}
2022-03-22 19:07:59 +00:00
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block methods %}
2022-03-22 19:07:59 +00:00
{% if methods %}
.. rubric:: {{ _('Methods') }}
2022-03-22 19:07:59 +00:00
{% for item in methods %}
.. automethod:: {{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
.. autosummary::
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}