| 1 |
.. |
| 2 |
Template based in the original one, with some changes |
| 3 |
proposed on https://stackoverflow.com/a/62613202/3887420 |
| 4 |
|
| 5 |
{{ fullname | escape | underline}} |
| 6 |
|
| 7 |
.. currentmodule:: {{ module }} |
| 8 |
|
| 9 |
.. autoclass:: {{ objname }} |
| 10 |
:members: |
| 11 |
:show-inheritance: |
| 12 |
|
| 13 |
{% block methods %} |
| 14 |
.. automethod:: __init__ |
| 15 |
|
| 16 |
{% if methods %} |
| 17 |
.. rubric:: {{ _('Methods') }} |
| 18 |
|
| 19 |
.. autosummary:: |
| 20 |
{% for item in methods %} |
| 21 |
~{{ name }}.{{ item }} |
| 22 |
{%- endfor %} |
| 23 |
{% endif %} |
| 24 |
{% endblock %} |
| 25 |
|
| 26 |
{% block attributes %} |
| 27 |
{% if attributes %} |
| 28 |
.. rubric:: {{ _('Attributes') }} |
| 29 |
|
| 30 |
.. autosummary:: |
| 31 |
{% for item in attributes %} |
| 32 |
~{{ name }}.{{ item }} |
| 33 |
{%- endfor %} |
| 34 |
{% endif %} |
| 35 |
{% endblock %} |