summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-20 01:30:19 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-20 01:30:19 +0200
commit7ba7b06f101a1d134162aee6ea4f8462ee3f40bd (patch)
treeb02710c26ed50ee2a15c89a820aab5bccf46e350
parenta69d0b8ee5ea903a825464ce4000afbf115bab2d (diff)
downloadvyos-1x-7ba7b06f101a1d134162aee6ea4f8462ee3f40bd.tar.gz
vyos-1x-7ba7b06f101a1d134162aee6ea4f8462ee3f40bd.zip
Add docs target to the makefile.
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 143eebbac..84cc8fa90 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,10 @@ test:
.PHONY: sonar
sonar:
sonar-scanner -X -Dsonar.login=${SONAR_TOKEN}
+
+.PHONY: docs
+.ONESHELL:
+docs:
+ sphinx-apidoc -o sphinx/source/ python/
+ cd sphinx/
+ PYTHONPATH=../python make html