File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,14 @@ gettext: build
150
150
htmlview : html
151
151
$(PYTHON ) -c " import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
152
152
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
+
153
157
.PHONY : htmllive
154
158
htmllive : SPHINXBUILD = $(VENVDIR ) /bin/sphinx-autobuild
155
159
htmllive : SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
156
- htmllive : html
160
+ htmllive : ensure-sphinx-autobuild html
157
161
158
162
.PHONY : clean
159
163
clean : clean-venv
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ sphinx~=7.3.0
10
10
11
11
blurb
12
12
13
- sphinx-autobuild
14
13
sphinxext-opengraph == 0.7.5
15
14
sphinx-notfound-page == 1.0.0
16
15
You can’t perform that action at this time.
0 commit comments