File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010# make docs-html DOCS_ENV=ga # Build docs for GA
1111# make docs-html # Build docs with no special tag
1212# make docs-live DOCS_ENV=draft # Live server with draft tag
13+ # make docs-live SPHINX_AUTOBUILD_FLAGS="--port 8080 --host 0.0.0.0" # Custom flags
1314# make docs-publish DOCS_ENV=ga # Production build (fails on warnings)
1415
1516DOCS_ENV ?=
17+ SPHINX_AUTOBUILD_FLAGS ?=
1618
1719# Detect OS for cross-platform compatibility
1820ifeq ($(OS ) ,Windows_NT)
@@ -47,7 +49,7 @@ docs-clean:
4749
4850docs-live :
4951 @echo " Starting live-reload server (sphinx-autobuild)..."
50- cd docs && $(VENV_PYTHON ) -m sphinx_autobuild $(if $(DOCS_ENV ) ,-t $(DOCS_ENV ) ) . _build/html
52+ cd docs && $(VENV_PYTHON ) -m sphinx_autobuild $(if $(DOCS_ENV ) ,-t $(DOCS_ENV ) ) $( SPHINX_AUTOBUILD_FLAGS ) . _build/html
5153
5254docs-env :
5355 @echo " Setting up docs virtual environment with uv..."
@@ -101,4 +103,4 @@ docs-live-ea:
101103 $(MAKE ) docs-live DOCS_ENV=ea
102104
103105docs-live-draft :
104- $(MAKE ) docs-live DOCS_ENV=draft
106+ $(MAKE ) docs-live DOCS_ENV=draft
You can’t perform that action at this time.
0 commit comments