diff --git a/docs/Makefile b/docs/Makefile index 5b0c5b844..e0f8d244f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = -W # treat warnings as errors +SPHINXOPTS = SPHINXBUILD = sphinx-build SOURCEDIR = source BUILDDIR = build diff --git a/docs/source/conf.py b/docs/source/conf.py index 46035e67b..a7f59b714 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -129,8 +129,6 @@ def builder_inited_handler(app): input = pandoc.read(source=None, file=infile, format="markdown") pandoc.write(input, file=outfile, format="rst") - os.environ["SPHINX_APIDOC_OPTIONS"] = "members,undoc-members,show-inheritance,no-index" - result = subprocess.run( [ "sphinx-apidoc",