Adding the -n option to the Sphinx build invocation so that WARNINGs will be treated as ERRORs. This will cause builds to fail if Sphinx cannot import modules for its autoclass directives. Currently, they fail silently and leave gaps in the published HTML where docstring content should have been.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS ?=
|
||||
SPHINXOPTS ?= -n
|
||||
SPHINXBUILD ?= sphinx-build
|
||||
PAPER ?=
|
||||
BUILDDIR ?= build
|
||||
|
||||
Reference in New Issue
Block a user