5 REM Command file for Sphinx documentation
\r
7 if "%SPHINXBUILD%" == "" (
\r
8 set SPHINXBUILD=sphinx-build
\r
10 set SOURCEDIR=source
\r
13 if "%1" == "" goto help
\r
15 %SPHINXBUILD% >NUL 2>NUL
\r
16 if errorlevel 9009 (
\r
18 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
\r
19 echo.installed, then set the SPHINXBUILD environment variable to point
\r
20 echo.to the full path of the 'sphinx-build' executable. Alternatively you
\r
21 echo.may add the Sphinx directory to PATH.
\r
23 echo.If you don't have Sphinx installed, grab it from
\r
24 echo.http://sphinx-doc.org/
\r
28 %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
\r
32 %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
\r