1*0d0705a1Slongjin@ECHO OFF 2*0d0705a1Slongjin 3*0d0705a1Slongjinpushd %~dp0 4*0d0705a1Slongjin 5*0d0705a1SlongjinREM Command file for Sphinx documentation 6*0d0705a1Slongjin 7*0d0705a1Slongjinif "%SPHINXBUILD%" == "" ( 8*0d0705a1Slongjin set SPHINXBUILD=sphinx-build 9*0d0705a1Slongjin) 10*0d0705a1Slongjinset SOURCEDIR=. 11*0d0705a1Slongjinset BUILDDIR=_build 12*0d0705a1Slongjin 13*0d0705a1Slongjinif "%1" == "" goto help 14*0d0705a1Slongjin 15*0d0705a1Slongjin%SPHINXBUILD% >NUL 2>NUL 16*0d0705a1Slongjinif errorlevel 9009 ( 17*0d0705a1Slongjin echo. 18*0d0705a1Slongjin echo.The 'sphinx-build' command was not found. Make sure you have Sphinx 19*0d0705a1Slongjin echo.installed, then set the SPHINXBUILD environment variable to point 20*0d0705a1Slongjin echo.to the full path of the 'sphinx-build' executable. Alternatively you 21*0d0705a1Slongjin echo.may add the Sphinx directory to PATH. 22*0d0705a1Slongjin echo. 23*0d0705a1Slongjin echo.If you don't have Sphinx installed, grab it from 24*0d0705a1Slongjin echo.http://sphinx-doc.org/ 25*0d0705a1Slongjin exit /b 1 26*0d0705a1Slongjin) 27*0d0705a1Slongjin 28*0d0705a1Slongjin%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 29*0d0705a1Slongjingoto end 30*0d0705a1Slongjin 31*0d0705a1Slongjin:help 32*0d0705a1Slongjin%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 33*0d0705a1Slongjin 34*0d0705a1Slongjin:end 35*0d0705a1Slongjinpopd 36