From 2d612162d8cabfe7dcfe07e097ec8d198b3ff8cd Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Thu, 24 Oct 2024 09:43:43 +0200 Subject: [PATCH] Used webbroswer module in docs Makefile. --- docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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