File tree 1 file changed +33
-0
lines changed
doc/source/_templates/autosummary
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% extends "!autosummary/class.rst" %}
2
+
3
+ {% block methods %}
4
+ {% if methods %}
5
+
6
+ ..
7
+ HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
8
+ .. autosummary::
9
+ :toctree:
10
+ {% for item in all_methods %}
11
+ {%- if not item.startswith('_') or item in ['__call__'] %}
12
+ {{ name }}.{{ item }}
13
+ {%- endif -%}
14
+ {%- endfor %}
15
+
16
+ {% endif %}
17
+ {% endblock %}
18
+
19
+ {% block attributes %}
20
+ {% if attributes %}
21
+
22
+ ..
23
+ HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
24
+ .. autosummary::
25
+ :toctree:
26
+ {% for item in all_attributes %}
27
+ {%- if not item.startswith('_') %}
28
+ {{ name }}.{{ item }}
29
+ {%- endif -%}
30
+ {%- endfor %}
31
+
32
+ {% endif %}
33
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments