Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fixed Docs Makefile to open build/html/index.html in browser(#5878)

karza_abhishek46bb7b31d1d4
diff --git a/docs/Makefile b/docs/Makefile
index 596cb6cef..48401bac8 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -87,7 +87,7 @@ coverage: build
htmlview: html
$(PYTHON) -c "import webbrowser; from pathlib import Path; \
- webbrowser.open('file://' + Path('build/html/index.html').resolve())"
+ webbrowser.open(Path('build/html/index.html').resolve().as_uri())"
clean:
-rm -rf build/*