From 7ba7b06f101a1d134162aee6ea4f8462ee3f40bd Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 20 Jun 2018 01:30:19 +0200 Subject: Add docs target to the makefile. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3