Skip to content

Commit

Permalink
Ensure sphinx exit code is reported
Browse files Browse the repository at this point in the history
Signed-off-by: John Strunk <[email protected]>
  • Loading branch information
JohnStrunk committed Jun 12, 2021
1 parent 7bf6924 commit 4aecec0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make-doc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ if errorlevel 9009 (
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
if errorlevel 1 (
echo Documentation build failed
exit /b 1
)
goto end

:help
Expand Down

0 comments on commit 4aecec0

Please sign in to comment.