bpo-33670: Expose Sphinx errorlevel (GH-7156)
(cherry picked from commit 8c1ad0c4f6
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
parent
0dd8fd0358
commit
1827615500
|
@ -22,7 +22,7 @@ if not defined SPHINXBUILD (
|
|||
%PYTHON% -m pip install python-docs-theme
|
||||
if errorlevel 1 exit /B
|
||||
)
|
||||
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"
|
||||
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sys.exit(sphinx.main())"
|
||||
)
|
||||
|
||||
if not defined BLURB (
|
||||
|
|
Loading…
Reference in New Issue