6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-11 07:41:02 +00:00
tutor/docs/Makefile
Régis Behmo 2f24a40d99 docs: build docs in CI (and be nitpicky about it)
This ensures that any warning generated from compiling the docs is treated as
an error. Also, building the docs is now one of the steps performed in CI.
2021-10-14 12:59:57 +02:00

12 lines
263 B
Makefile

.DEFAULT_GOAL := html
.PHONY: help
html:
sphinx-build -b html -a -E -n -W "." "_build/html"
browse:
sensible-browser _build/html/index.html
watch: html browse
while true; do inotifywait -e modify *.rst */*.rst */*/*.rst ../*.rst conf.py; $(MAKE) html; done