mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-05 23:20:40 +00:00
docs: keep running "make watch" on failure
This commit is contained in:
parent
852759ae35
commit
23847f6441
@ -1,11 +1,14 @@
|
||||
.DEFAULT_GOAL := html
|
||||
.PHONY: help
|
||||
|
||||
build:
|
||||
sphinx-build -b html -a -E -n $(BUILD_ARGS) "." "_build/html"
|
||||
|
||||
html:
|
||||
sphinx-build -b html -a -E -n -W "." "_build/html"
|
||||
$(MAKE) build BUILD_ARGS="-W"
|
||||
|
||||
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
|
||||
watch: build browse
|
||||
while true; do inotifywait -e modify *.rst */*.rst */*/*.rst ../*.rst conf.py; $(MAKE) build || true; done
|
||||
|
Loading…
Reference in New Issue
Block a user