make.bat
This file
Path
docs/make.bat
35 lines · 757 bytes
Last changed by
Merge branch '3.0.x'David Lordbefore adoptione20a52e
History of this fileTake it
The walk stopped after 200 commits: lines older than c580dd0 point at it.
update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0
lines 1–23why, one step back1@ECHO OFF23pushd %~dp045REM Command file for Sphinx documentation67if "%SPHINXBUILD%" == "" (8 set SPHINXBUILD=sphinx-build9)10set SOURCEDIR=.11set BUILDDIR=_build1213if "%1" == "" goto help1415%SPHINXBUILD% >NUL 2>NUL16if errorlevel 9009 (17 echo.18 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx19 echo.installed, then set the SPHINXBUILD environment variable to point20 echo.to the full path of the 'sphinx-build' executable. Alternatively you21 echo.may add the Sphinx directory to PATH.22 echo.23 echo.If you don't have Sphinx installed, grab it fromMerge branch '3.0.x'David Lordbefore adoptione20a52e
line 24why, one step back24 echo.https://www.sphinx-doc.org/update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0
lines 25–35why, one step back25 exit /b 126)2728%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%29goto end3031:help32%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%3334:end35popd