6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-30 05:09:02 +00:00
tutor/docs/Makefile
Régis Behmo 07ae8d472f docs: generate reference docs automatically
This is performed with the help of sphinx-click:
https://sphinx-click.readthedocs.io
2021-10-14 12:59:57 +02:00

12 lines
257 B
Makefile

.DEFAULT_GOAL := html
.PHONY: help
html:
sphinx-build -b html -a -E "." "_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