aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 753fe2861c397a6f503c0ca14d5d387a2fb82f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: tags check documentation sphinx-apidoc

DOC_OUTPUT = doc.rendered

tags:
	ctags `find mu4web -type f -name \*.py `

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