From a6efdeb947b571459642379af685f4dbac31f8d3 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Sat, 18 Jan 2025 17:10:33 -0500 Subject: [PATCH] chore: allow sphinx-autobuild to choose port for serving docs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e731a50d79..0ff73e7371 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ docs-clean: ## Dump the existing built docs docs-serve: docs-clean ## Serve the docs locally @echo "=> Serving documentation" - uv run --python 3.12 sphinx-autobuild docs docs/_build/ -j auto --watch litestar --watch docs --watch tests --watch CONTRIBUTING.rst --open-browser + uv run --python 3.12 sphinx-autobuild docs docs/_build/ -j auto --watch litestar --watch docs --watch tests --watch CONTRIBUTING.rst --open-browser --port=0 docs: docs-clean ## Dump the existing built docs and rebuild them @echo "=> Building documentation"