summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-12-26 12:02:13 (GMT)
committerGitHub <noreply@github.com>2023-12-26 12:02:13 (GMT)
commit36adc79041f4d2764e1daf7db5bb478923e89a1f (patch)
treee2b81684891fe93310e579921858359240d02071 /Doc
parent8a3d0e4a661e6c27e4c17c818ce4187a36579e5f (diff)
downloadcpython-36adc79041f4d2764e1daf7db5bb478923e89a1f.zip
cpython-36adc79041f4d2764e1daf7db5bb478923e89a1f.tar.gz
cpython-36adc79041f4d2764e1daf7db5bb478923e89a1f.tar.bz2
Docs: make htmllive: open browser when ready (#113288)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 7af56e9..38fd60f 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -19,8 +19,12 @@ SPHINXERRORHANDLING = -W
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
-ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j $(JOBS) \
- $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
+ALLSPHINXOPTS = -b $(BUILDER) \
+ -d build/doctrees \
+ -j $(JOBS) \
+ $(PAPEROPT_$(PAPER)) \
+ $(SPHINXOPTS) $(SPHINXERRORHANDLING) \
+ . build/$(BUILDER) $(SOURCES)
.PHONY: help
help:
@@ -142,7 +146,7 @@ htmlview: html
.PHONY: htmllive
htmllive: SPHINXBUILD = $(VENVDIR)/bin/sphinx-autobuild
-htmllive: SPHINXOPTS = --re-ignore="/venv/"
+htmllive: SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
htmllive: html
.PHONY: clean