Thu, 04 Jan 2018 14:21:17 +0200
Initial assignments and tests of diva variables
i@95 | 1 | @ECHO OFF |
i@95 | 2 | |
i@95 | 3 | pushd %~dp0 |
i@95 | 4 | |
i@95 | 5 | REM Command file for Sphinx documentation |
i@95 | 6 | |
i@95 | 7 | if "%SPHINXBUILD%" == "" ( |
i@95 | 8 | set SPHINXBUILD=sphinx-build |
i@95 | 9 | ) |
i@95 | 10 | set SOURCEDIR=. |
i@95 | 11 | set BUILDDIR=_build |
i@95 | 12 | set SPHINXPROJ=Atmosphericlidar |
i@95 | 13 | |
i@95 | 14 | if "%1" == "" goto help |
i@95 | 15 | |
i@95 | 16 | %SPHINXBUILD% >NUL 2>NUL |
i@95 | 17 | if errorlevel 9009 ( |
i@95 | 18 | echo. |
i@95 | 19 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx |
i@95 | 20 | echo.installed, then set the SPHINXBUILD environment variable to point |
i@95 | 21 | echo.to the full path of the 'sphinx-build' executable. Alternatively you |
i@95 | 22 | echo.may add the Sphinx directory to PATH. |
i@95 | 23 | echo. |
i@95 | 24 | echo.If you don't have Sphinx installed, grab it from |
i@95 | 25 | echo.http://sphinx-doc.org/ |
i@95 | 26 | exit /b 1 |
i@95 | 27 | ) |
i@95 | 28 | |
i@95 | 29 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% |
i@95 | 30 | goto end |
i@95 | 31 | |
i@95 | 32 | :help |
i@95 | 33 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% |
i@95 | 34 | |
i@95 | 35 | :end |
i@95 | 36 | popd |