aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent19502d99b0a912f6d5221138cc4879dc916c500e (diff)
downloadqolab-8756a5e023bd99d0358e1e2c70cedaa47e416d6d.tar.gz
qolab-8756a5e023bd99d0358e1e2c70cedaa47e416d6d.zip
added infrastructure to generate Docs with sphinx
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a25dd82
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line, and also
+# from the environment for the first two.
+SPHINXOPTS ?=
+SPHINXBUILD ?= sphinx-build
+SOURCEDIR = doc_generator
+BUILDDIR = build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)