aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorDavid Horstmann <david.horstmann@arm.com>2023-03-14 15:00:46 +0000
committerDavid Horstmann <david.horstmann@arm.com>2023-03-16 18:01:58 +0000
commite84d61cb64f410ab36517aafe4fbecfe2e3f5e5e (patch)
tree35c00adc4e7b898c79771e9e22b2d888b097878d /docs/Makefile
parent4425383aaa589d5e1f1888bf164e86c4bcf98c1e (diff)
downloadmbedtls-e84d61cb64f410ab36517aafe4fbecfe2e3f5e5e.zip
mbedtls-e84d61cb64f410ab36517aafe4fbecfe2e3f5e5e.tar.gz
mbedtls-e84d61cb64f410ab36517aafe4fbecfe2e3f5e5e.tar.bz2
Add initial API doc configuration
Signed-off-by: David Horstmann <david.horstmann@arm.com>
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 0000000..d4bb2cb
--- /dev/null
+++ b/docs/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 = .
+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)