summaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-12-05 13:53:36 -0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-12-05 13:53:36 -0800
commitf6465754b6bd3bb547d49fc894553220640c9d71 (patch)
tree2e77066059b37d20d27e5bfc24e50b4e012132dc /docs/Makefile
parent33fe72d9e48315fc79cec9610ebfb81f5cb6047d (diff)
Add sphinx build configuration
This allows local build of document for preview Change-Id: I9f70ad68358cdd5d47afebc9e440555c48a7c913 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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..aa1d614e
--- /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 = sphinx-build
+SPHINXPROJ = QTIP
+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