File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,14 @@ gettext: build
150150htmlview : html
151151 $(PYTHON ) -c " import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
152152
153+ .PHONY : ensure-sphinx-autobuild
154+ ensure-sphinx-autobuild : venv
155+ $(VENVDIR ) /bin/sphinx-autobuild --version > /dev/null || $(VENVDIR ) /bin/python3 -m pip install sphinx-autobuild
156+
153157.PHONY : htmllive
154158htmllive : SPHINXBUILD = $(VENVDIR ) /bin/sphinx-autobuild
155159htmllive : SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
156- htmllive : html
160+ htmllive : ensure-sphinx-autobuild html
157161
158162.PHONY : clean
159163clean : clean-venv
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ sphinx~=7.3.0
1010
1111blurb
1212
13- sphinx-autobuild
1413sphinxext-opengraph == 0.7.5
1514sphinx-notfound-page == 1.0.0
1615
You can’t perform that action at this time.
0 commit comments