diff --git a/docs/Makefile b/docs/Makefile index eaba3ba2b..a3d1611f9 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -82,7 +82,8 @@ pydoc-topics: build "into the Lib/ directory" htmlview: html - $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')" + $(PYTHON) -c "import webbrowser, os; webbrowser.open('file://' + \ + os.path.realpath('build/html/index.html'))" clean: -rm -rf build/*