Skip to content

Commit 89ba31b

Browse files
author
y-p
committed
Revert "BLD: remove local autosummary copy" GH5921
This reverts commit 19583a1.
1 parent 80610f8 commit 89ba31b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 %}

0 commit comments

Comments
 (0)