Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db74d98 commit 5989511Copy full SHA for 5989511
1 file changed
Doc/make.bat
@@ -76,6 +76,15 @@ if NOT "%PAPER%" == "" (
76
cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*
77
78
if "%1" EQU "htmlhelp" (
79
+ if not exist "%HTMLHELP%" (
80
+ echo.
81
+ echo.The HTML Help Workshop was not found. Set the HTMLHELP variable
82
+ echo.to the path to hhc.exe or download and install it from
83
+ echo.http://msdn.microsoft.com/en-us/library/ms669985
84
+ rem Set errorlevel to 1 and exit
85
+ cmd /C exit /b 1
86
+ goto end
87
+ )
88
cmd /C "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
89
rem hhc.exe seems to always exit with code 1, reset to 0 for less than 2
90
if not errorlevel 2 cmd /C exit /b 0
0 commit comments