]> git.madduck.net Git - etc/vim.git/blob - docs/make.bat

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

blackd: fix mishandling of single character input (#3558)
[etc/vim.git] / docs / make.bat
1 @ECHO OFF
2
3 pushd %~dp0
4
5 REM Command file for Sphinx documentation
6
7 if "%SPHINXBUILD%" == "" (
8         set SPHINXBUILD=sphinx-build
9 )
10 set SOURCEDIR=.
11 set BUILDDIR=_build
12 set SPHINXPROJ=black
13
14 if "%1" == "" goto help
15
16 %SPHINXBUILD% >NUL 2>NUL
17 if errorlevel 9009 (
18         echo.
19         echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20         echo.installed, then set the SPHINXBUILD environment variable to point
21         echo.to the full path of the 'sphinx-build' executable. Alternatively you
22         echo.may add the Sphinx directory to PATH.
23         echo.
24         echo.If you don't have Sphinx installed, grab it from
25         echo.http://sphinx-doc.org/
26         exit /b 1
27 )
28
29 %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30 goto end
31
32 :help
33 %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34
35 :end
36 popd