mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
27 lines
674 B
ReStructuredText
27 lines
674 B
ReStructuredText
{{ name | escape | underline}}
|
|
|
|
.. currentmodule:: {{ module }}
|
|
|
|
.. autoclass:: {{ objname }}
|
|
:members: <-- add at least this line
|
|
:private-members:
|
|
:show-inheritance: <-- plus I want to show inheritance...
|
|
:inherited-members: <-- ...and inherited members too
|
|
|
|
{% block methods %}
|
|
.. automethod:: __init__
|
|
|
|
{% if methods %}
|
|
.. rubric:: {{ _('Public methods summary') }}
|
|
|
|
.. autosummary::
|
|
{% for item in methods %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
{% for item in _methods %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
.. rubric:: {{ _('Methods definition') }}
|