diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,4 +1,6 @@ -.PHONY: tags check +.PHONY: tags check documentation sphinx-apidoc + +DOC_OUTPUT = doc.rendered tags: ctags `find mu4web -type f -name \*.py ` @@ -6,3 +8,11 @@ tags: check: mypy -p mu4web flake8 mu4web + +sphinx-apidoc: + sphinx-apidoc --separate --force -o doc mu4web + +$(DOC_OUTPUT)/index.html: sphinx-apidoc + sphinx-build -b dirhtml doc $(DOC_OUTPUT) + +documentation: $(DOC_OUTPUT)/index.html |