Debian Codegraph @

docs/_templates/autosummary/class.rst

raw
1 {{ objname | escape | underline}}
2
3 .. currentmodule:: {{ module }}
4
5 .. autoclass:: {{ objname }}
6
7 {% block attributes_summary %}
8 {% if attributes %}
9
10 .. rubric:: Attributes Summary
11
12 .. autosummary::
13 {% for item in attributes %}
14 ~{{ item }}
15 {%- endfor %}
16
17 {% endif %}
18 {% endblock %}
19
20 {% block methods_summary %}
21 {% if methods %}
22
23 {% if '__init__' in methods %}
24 {% set caught_result = methods.remove('__init__') %}
25 {% endif %}
26
27 .. rubric:: Methods Summary
28
29 .. autosummary::
30 :toctree: {{ objname }}/methods
31 :nosignatures:
32
33 {% for item in methods %}
34 ~{{ name }}.{{ item }}
35 {%- endfor %}
36
37 {% endif %}
38 {% endblock %}
39
40 {% block methods_documentation %}
41 {% if methods %}
42
43 .. rubric:: Methods Documentation
44
45 {% for item in methods %}
46 .. automethod:: {{ name }}.{{ item }}
47 {%- endfor %}
48
49 {% endif %}
50 {% endblock %}