aboutsummaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-27 23:42:33 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-27 23:42:33 -0400
commit8756a5e023bd99d0358e1e2c70cedaa47e416d6d (patch)
tree10a3b49d1f6d7c3a562e5ef48992f4d8ea658030 /make.bat
parent19502d99b0a912f6d5221138cc4879dc916c500e (diff)
downloadqolab-8756a5e023bd99d0358e1e2c70cedaa47e416d6d.tar.gz
qolab-8756a5e023bd99d0358e1e2c70cedaa47e416d6d.zip
added infrastructure to generate Docs with sphinx
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat35
1 files changed, 35 insertions, 0 deletions
diff --git a/make.bat b/make.bat
new file mode 100644
index 0000000..0d4c773
--- /dev/null
+++ b/make.bat
@@ -0,0 +1,35 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=doc_generator
+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