Used webbroswer module in docs Makefile.

This commit is contained in:
Paolo Melchiorre 2024-10-24 09:43:43 +02:00 committed by Sarah Boyce
parent 6ae0dc89c5
commit 2d612162d8
1 changed files with 1 additions and 1 deletions

View File

@ -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