mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 22:27:47 +00:00
2f24a40d99
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.
12 lines
263 B
Makefile
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
|