[Python-checkins] bpo-33670: Expose Sphinx errorlevel (GH-7156)
Miss Islington (bot)
webhook-mailer at python.org
Mon May 28 21:49:53 EDT 2018
https://github.com/python/cpython/commit/08beaf7d60c247b485fb578be1ef14bbc796ca88
commit: 08beaf7d60c247b485fb578be1ef14bbc796ca88
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-05-28T18:49:50-07:00
summary:
bpo-33670: Expose Sphinx errorlevel (GH-7156)
(cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/make.bat
diff --git a/Doc/make.bat b/Doc/make.bat
index 3a4b365689db..7ca84979a300 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -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 (
More information about the Python-checkins
mailing list