Makefile (533B)
1 export DISABLE_MKDOCS_2_WARNING := true 2 3 .PHONY: docs-install docs docs-build docs-deploy docs-clean 4 5 ## Install documentation dependencies (run once) 6 docs-install: 7 pip install -r requirements-docs.txt 8 9 ## Live preview with auto-reload at http://127.0.0.1:8000 10 docs: 11 mkdocs serve 12 13 ## Build static site into site/ (check for errors without deploying) 14 docs-build: 15 mkdocs build --strict 16 17 ## Manually push to GitHub Pages (same as CI does) 18 docs-deploy: 19 mkdocs gh-deploy --force 20 21 ## Remove built site output 22 docs-clean: 23 rm -rf site/