diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-21 15:29:18 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-21 15:29:18 +0200 |
| commit | 1f3a6e09d3b605fb70cd0dd2165373814feb2eda (patch) | |
| tree | 75d8e849e088eb6268b1a58982b2a7f202697693 /wrappers/python/docs/make.bat | |
| parent | bad02030afd140da5643b49a94ffff3395d013e4 (diff) | |
Python: Sphinx doc files
Diffstat (limited to 'wrappers/python/docs/make.bat')
| -rw-r--r-- | wrappers/python/docs/make.bat | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/wrappers/python/docs/make.bat b/wrappers/python/docs/make.bat new file mode 100644 index 0000000..747ffb7 --- /dev/null +++ b/wrappers/python/docs/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+ echo.
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
+ echo.installed, then set the SPHINXBUILD environment variable to point
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
+ echo.may add the Sphinx directory to PATH.
+ echo.
+ echo.If you don't have Sphinx installed, grab it from
+ echo.https://www.sphinx-doc.org/
+ exit /b 1
+)
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+
+:end
+popd
|
