8000 bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' by hugovk · Pull Request #32354 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' #32354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo-36329: Use real file:// path to open local file
  • Loading branch information
hugovk committed Apr 6, 2022
commit 9616c6f4571cc931d0999f0ae817764d85d8a5d7
2 changes: 1 addition & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pydoc-topics: build
"cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"

htmlview: html
$(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"

clean: clean-venv
-rm -rf build/*
Expand Down
0