make.bat
This file
Path
docs/make.bat
36 lines · 773 bytes
Last changed by
Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
History of this fileTake it
The walk stopped after 200 commits: lines older than 945b4d3 point at it.
Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
lines 1–2why, one step back1@ECHO OFF2Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 3–4why, one step back3pushd %~dp04Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
lines 5–9why, one step back5REM Command file for Sphinx documentation67if "%SPHINXBUILD%" == "" (8 set SPHINXBUILD=sphinx-build9)Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
line 10why, one step back10set SOURCEDIR=.Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
line 11why, one step back11set BUILDDIR=_buildMerge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
line 12why, one step back12set SPHINXPROJ=JinjaMerge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
lines 13–15why, one step back1314if "%1" == "" goto help15Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 16–17why, one step back16%SPHINXBUILD% >NUL 2>NUL17if errorlevel 9009 (Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
line 18why, one step back18 echo.Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 19–22why, one step back19 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx20 echo.installed, then set the SPHINXBUILD environment variable to point21 echo.to the full path of the 'sphinx-build' executable. Alternatively you22 echo.may add the Sphinx directory to PATH.Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
line 23why, one step back23 echo.Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 24–26why, one step back24 echo.If you don't have Sphinx installed, grab it from25 echo.http://sphinx-doc.org/26 exit /b 1Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
lines 27–28why, one step back27)28Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 29–30why, one step back29%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%30goto endMerge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
line 31why, one step back31Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
lines 32–33why, one step back32:help33%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3
lines 34–35why, one step back3435:endMerge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
line 36why, one step back36popd