Skip to content

Commit fd1883b

Browse files
committed
windows makefile for doc build
1 parent 8cd8f25 commit fd1883b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/make.bat

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
pushd %~dp0
2+
3+
REM Minimal windows makefile for sphinx documentation
4+
5+
6+
set SPHINXOPTS=
7+
set SPHINXBUILD=python -msphinx
8+
set SOURCEDIR=source
9+
set BUILDDIR=build
10+
11+
if "%1" == "" goto help
12+
if "%1" == "show" goto show
13+
14+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
15+
goto end
16+
17+
:help
18+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
19+
goto end
20+
21+
:show
22+
python -m webbrowser -t "%~dp0\build\html\index.html"
23+
24+
:end

0 commit comments

Comments
 (0)