You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround: specify the extensions in the --extensions list, with autodoc before napoleon. The extensions are emitted into conf.py in the order given in the option:
Finished: An initial directory structure has been created.
You should now populate your master file ./index.rst and create other documentation
source files. Use the Makefile to build the docs, like so:
make builder
where "builder" is one of the supported builders, e.g. html, latex or linkcheck.
Reproducible project / your project
Environment info
OS: Linux 16.04
Python version: 3.6.3
Sphinx version: 1.6.5
The text was updated successfully, but these errors were encountered:
I very recently reported a similar issue with numpydoc (numpy/numpydoc#141). I would assume that for this case, sphinx.ext.napoleon should just force-load sphinx.ext.autodoc at the very beginning.
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Nov 11, 2017
Subject: The order of extensions listed in the
conf.py extensions
array can cause an error.Problem
Procedure to reproduce the problem
Workaround: specify the extensions in the
--extensions
list, with autodoc before napoleon. The extensions are emitted intoconf.py
in the order given in the option:Error logs / results
Expected results
Reproducible project / your project
Environment info
The text was updated successfully, but these errors were encountered: