diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-08-06 20:26:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-08-06 20:26:27 +0200 |
commit | 728be8f3fd1a4e963707af9d2dbd86f252375247 (patch) | |
tree | 6979b3ecfeb2d176ebec5c586df8b78cbe46a246 | |
parent | Add hover text in search result view. (diff) | |
download | mu4web-728be8f3fd1a4e963707af9d2dbd86f252375247.tar.gz mu4web-728be8f3fd1a4e963707af9d2dbd86f252375247.tar.xz |
Add documentation creation to makefile.
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 |