summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@users.noreply.github.com>2019-03-15 09:12:06 -0400
committerGitHub <noreply@github.com>2019-03-15 09:12:06 -0400
commit937e66359d8c41fdd63d4c6f4d49c02df0bb1392 (patch)
treeb66c268676270d00bb6f41e9759a4b858661f1b5 /docs/Makefile
parent0ff338a5dcad70956e18bc336b2bd79d152a23d9 (diff)
parent143e6d4a5f2ecf4b83507bfe96ff6b98bcb40abe (diff)
Merge pull request #792 from pliablepixels/sphinx-doc
migrate to sphinx
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 00000000..b3531533
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = python -msphinx
+SPHINXPROJ = zmNinja
+SOURCEDIR = .
+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) \ No newline at end of file