Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than a6a6964 point at it.

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 1–2why, one step back
1@ECHO OFF
2

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 3–4why, one step back
3pushd %~dp0
4

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 5–9why, one step back
5REM Command file for Sphinx documentation
67if "%SPHINXBUILD%" == "" (8 set SPHINXBUILD=sphinx-build9)

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 10why, one step back
10set SOURCEDIR=.

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

line 11why, one step back
11set BUILDDIR=_build

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 12why, one step back
12set SPHINXPROJ=Jinja

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 13–15why, one step back
13
14if "%1" == "" goto help15

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 16–17why, one step back
16%SPHINXBUILD% >NUL 2>NUL
17if errorlevel 9009 (

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

line 18why, one step back
18 echo.

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 19–22why, one step back
19 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20 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.

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

line 23why, one step back
23 echo.

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 24–26why, one step back
24 echo.If you don't have Sphinx installed, grab it from
25 echo.http://sphinx-doc.org/26 exit /b 1

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 27–28why, one step back
27)
28

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 29–30why, one step back
29%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30goto end

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

line 31why, one step back
31

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 32–33why, one step back
32:help
33%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 34–35why, one step back
34
35:end

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 36why, one step back
36popd