mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
[3.12] Fix make htmllive
target (GH-124222)
Allow `make -C Doc htmllive` to work without manual venv activation
Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`.
(cherry picked from commit 9a6e2336e4
)
Authored-by: Zachary Ware <zach@python.org>
This commit is contained in:
parent
1494d9563f
commit
2216c52828
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ htmlview: html
|
|||
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
|
||||
|
||||
.PHONY: htmllive
|
||||
htmllive: SPHINXBUILD = $(VENVDIR)/bin/sphinx-autobuild
|
||||
htmllive: SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-autobuild
|
||||
htmllive: SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
|
||||
htmllive: _ensure-sphinx-autobuild html
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue