1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

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