Skip to content

Commit 7792ff6

Browse files
committed
DOC: Restore API docs by preventing autosummary from generating a second copy
1 parent 8d5ab4e commit 7792ff6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/source/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@
7373
'matplotlib.sphinxext.plot_directive',
7474
]
7575

76-
# the following doesn't work with sphinx < 1.0, but will make a separate
77-
# sphinx-autogen run obsolete in the future
78-
#autosummary_generate = True
76+
# Autosummary always wants to use a `generated/` directory.
77+
# We generate with `make api-stamp`
78+
# This could change in the future
79+
autosummary_generate = False
7980

8081
# Add any paths that contain templates here, relative to this directory.
8182
templates_path = ['_templates']

0 commit comments

Comments
 (0)