Meshroom/docs/source/_templates/autosummary/class.rst
2022-10-14 14:41:07 +02:00

38 lines
666 B
ReStructuredText

{{ fullname | escape | underline}}
.. inheritance-diagram:: {{ fullname }}
.. meshroom_doc::
:module: {{ module }}
:class: {{ objname }}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block methods %}
.. automethod:: __init__
{% if methods %}
.. rubric:: {{ _('Methods') }}
.. autosummary::
{% for item in methods %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
.. autosummary::
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}