File tree 2 files changed +4
-12
lines changed
docs/_templates/autosummary
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 18
18
19
19
.. rubric :: Attributes
20
20
21
- .. autosummary ::
22
- :toctree: ../stubs/
23
21
{% for item in all_attributes %}
24
22
{%- if not item.startswith('_') %}
25
- ~ {{ name }}.{{ item }}
23
+ .. autoattribute :: {{ name }}.{{ item }}
26
24
{%- endif -%}
27
25
{%- endfor %}
28
26
{% endif %}
33
31
34
32
.. rubric :: Methods
35
33
36
- .. autosummary ::
37
- :toctree: ../stubs/
38
34
{% for item in all_methods %}
39
35
{%- if not item.startswith('_') %}
40
- ~ {{ name }}.{{ item }}
36
+ .. automethod :: {{ name }}.{{ item }}
41
37
{%- endif -%}
42
38
{%- endfor %}
43
39
Original file line number Diff line number Diff line change 18
18
19
19
.. rubric :: Attributes
20
20
21
- .. autosummary ::
22
- :toctree: ../stubs/
23
21
{% for item in all_attributes %}
24
22
{%- if item not in inherited_members %}
25
23
{%- if not item.startswith('_') %}
26
- ~ {{ name }}.{{ item }}
24
+ .. autoattribute :: {{ name }}.{{ item }}
27
25
{%- endif -%}
28
26
{%- endif %}
29
27
{%- endfor %}
35
33
36
34
.. rubric :: Methods
37
35
38
- .. autosummary ::
39
- :toctree: ../stubs/
40
36
{% for item in all_methods %}
41
37
{%- if item not in inherited_members %}
42
38
{%- if not item.startswith('_') %}
43
- ~ {{ name }}.{{ item }}
39
+ .. automethod :: {{ name }}.{{ item }}
44
40
{%- endif -%}
45
41
{%- endif %}
46
42
{%- endfor %}
You can’t perform that action at this time.
0 commit comments