From f40015a2ef502d6a5295f31cf8f7b4f9585995f2 Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Tue, 3 Mar 2026 14:24:28 +0100 Subject: [PATCH] fix: mark docs target as .PHONY in Makefile --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index feb8cf4..120b0e6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help fees match web image run sync sync-2026 test test-v +.PHONY: help fees match web image run sync sync-2026 test test-v docs export PYTHONPATH := scripts:$(PYTHONPATH) VENV := .venv @@ -25,6 +25,7 @@ help: @echo " make venv - Sync virtual environment with pyproject.toml" @echo " make test - Run web application infrastructure tests" @echo " make test-v - Run tests with verbose output" + @echo " make docs - Serve documentation in a browser" venv: uv sync @@ -61,3 +62,8 @@ test: $(PYTHON) ## Run web application tests test-v: $(PYTHON) ## Run tests with verbose output export PYTHONPATH=$(PYTHONPATH):$(CURDIR)/scripts:$(CURDIR) && $(PYTHON) -m unittest discover -v tests + +docs: ## Serve documentation locally + @echo "Starting documentation server at http://localhost:8000" + @echo "Press Ctrl+C to stop." + $(PYTHON) -m http.server 8000 --directory docs