]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' (GH-32354)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Fri, 29 Apr 2022 13:47:26 +0000 (16:47 +0300)
committerGitHub <noreply@github.com>
Fri, 29 Apr 2022 13:47:26 +0000 (15:47 +0200)
commit89c6b2b8f615a1c1827a92c4582c213b1a5027fb
treef4e4996942f7d0e314d0a2e4c732d74b098aef36
parent64113a4ba801126028505c50a7383f3e9df29573
bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' (GH-32354)

Also updated `make -C htmlview` so it used a full path with `file://`, because the original didn't open the page (macOS).

For example:
```sh
cd Doc

# Doesn't open anything:
python3 -c "import webbrowser; webbrowser.open('build/html/index.html')"

# Opens the docs page e.g. file:///Users/hugo/github/cpython/Doc/build/html/index.html :
python3 -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
```

https://bugs.python.org/issue36329
Doc/Makefile
Doc/library/wsgiref.rst
Doc/make.bat
Misc/NEWS.d/next/Documentation/2022-04-06-11-53-41.bpo-36329.EVtAtK.rst [new file with mode: 0644]
Tools/scripts/README
Tools/scripts/serve.py [deleted file]