]> granicus.if.org Git - python/commitdiff
add a htmlview directive
authorBenjamin Peterson <benjamin@python.org>
Thu, 26 Jun 2008 21:23:30 +0000 (21:23 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 26 Jun 2008 21:23:30 +0000 (21:23 +0000)
Doc/Makefile

index df88041fec26bbda20da8a972cc16542f7fb22a3..9c421cdbfb23437acd8e90c330653eeba49e8517 100644 (file)
@@ -103,6 +103,8 @@ pydoc-topics: build
        @echo "Building finished; now copy build/pydoc-topics/pydoc_topics.py " \
              "into the Lib/ directory"
 
+htmlview: html
+        $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
 clean:
        -rm -rf build/*
        -rm -rf tools/sphinx