summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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