summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble/docs/Makefile
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-05-17 10:29:13 +0200
committerGitea <gitea@fake.local>2020-05-17 10:29:13 +0200
commit8a94750e30399bfb204cbec59a769d9d1b6b5baa (patch)
tree8a1a58beae54e238d28aff116c900f3b428b7db4 /src/libs/mynewt-nimble/docs/Makefile
parent86d5732b960fbe7f81ed711b2de7e6b79293c96a (diff)
parentbe1ad9b07083e656a649d223750ff4b14b781b7b (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/libs/mynewt-nimble/docs/Makefile')
-rw-r--r--src/libs/mynewt-nimble/docs/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libs/mynewt-nimble/docs/Makefile b/src/libs/mynewt-nimble/docs/Makefile
new file mode 100644
index 00000000..9c8793a1
--- /dev/null
+++ b/src/libs/mynewt-nimble/docs/Makefile
@@ -0,0 +1,25 @@
+# Make a preview site for Sphinx & Doxygen output
+
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+SPHINXPROJ = Mynewt
+SOURCEDIR = .
+BUILDDIR = _build/sphinx
+
+.PHONY: Makefile clean preview doxygen
+
+clean:
+ rm -rf _build
+
+preview: _build doxygen sphinx
+
+_build:
+ mkdir -p _build
+
+doxygen:
+ mkdir -p _build/html
+ cd .. && doxygen docs/doxygen.xml
+
+sphinx:
+ sphinx-build . _build/sphinx
+ mv _build/sphinx _build/html/documentation