mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.12] Docs: make htmllive: open browser when ready (GH-113288) (#113484)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
1cf576a358
commit
f445aeac26
1 changed files with 7 additions and 3 deletions
10
Doc/Makefile
10
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue