Skip to content

Commit 2d61216

Browse files
pauloxnetsarahboyce
authored andcommitted
Used webbroswer module in docs Makefile.
1 parent 6ae0dc8 commit 2d61216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ html:
6161
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
6262

6363
htmlview: html
64-
$(PYTHON) -c "import webbrowser; webbrowser.open('_build/html/index.html')"
64+
$(PYTHON) -m webbrowser "$(BUILDDIR)/html/index.html"
6565

6666
dirhtml:
6767
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml

0 commit comments

Comments
 (0)