From 54c20bc31ac8b193d0900638754bc9c7949c7a80 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Thu, 16 Jan 2025 16:33:52 -0500 Subject: [PATCH] chore: update `docs-serve` to find a port and open the browser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4ccfd99f..b4c6ab4a 100644 --- a/Makefile +++ b/Makefile @@ -193,9 +193,9 @@ docs-clean: ## Clean documentation build @echo "${OK} Documentation assets cleaned" .PHONY: docs-serve -docs-serve: docs-clean ## Serve documentation locally +docs-serve: ## Serve documentation locally @echo "${INFO} Starting documentation server... 📚" - @uv run sphinx-autobuild docs docs/_build/ -j auto --watch advanced_alchemy --watch docs --watch tests --watch CONTRIBUTING.rst --port 8002 + @uv run sphinx-autobuild docs docs/_build/ -j auto --watch advanced_alchemy --watch docs --watch tests --watch CONTRIBUTING.rst --open-browser .PHONY: docs docs: docs-clean ## Build documentation