summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorPaolo Melchiorre <paolo@melchiorre.org>2024-10-24 09:43:43 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-24 10:45:44 +0200
commit2d612162d8cabfe7dcfe07e097ec8d198b3ff8cd (patch)
treef4eabd8a35cbc6e7c144e470c049d2299cf9f2a3 /docs/Makefile
parent6ae0dc89c53e51ec1d74ffba630686ad1988466a (diff)
Used webbroswer module in docs Makefile.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index d97a7ff07c..596e7fc2dd 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -61,7 +61,7 @@ html:
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
htmlview: html
- $(PYTHON) -c "import webbrowser; webbrowser.open('_build/html/index.html')"
+ $(PYTHON) -m webbrowser "$(BUILDDIR)/html/index.html"
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml