Skip to content

Commit

Permalink
chore: allow sphinx-autobuild to choose port for serving docs (#3959)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria authored Jan 19, 2025
1 parent 062c10b commit 25f57a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 25f57a6

Please sign in to comment.