mirror of https://github.com/scrapy/scrapy.git
Merge pull request #2682 from harshasrinivas/compile-docs-open-webbrowser
[MRG+1] Update Makefile to open webbrowser in MacOS (#2661)
This commit is contained in:
commit
34f4434b17
|
|
@ -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/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue