This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: show full url when execute "make -C Doc/ serve"
Type: Stage: resolved
Components: Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Doc: make serve uses http.server instead of Tools/scripts/server.py
View: 36345
Assigned To: Nosy List: Mariatta, matrixise, mdk
Priority: normal Keywords: patch

Created on 2019-03-06 13:15 by matrixise, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12195 closed matrixise, 2019-03-06 13:20
Messages (1)
msg337300 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-03-06 13:15
If we want to check the result of the compilation for the documentation, we can use open build/html or make serve

./configure --prefix=$PWD/build
make -j 4
make PYTHON=../python -C Doc venv
make PYTHON=../python -C Doc html serve

Here is the current output:
make: Entering directory '/home/stephane/src/github.com/python/cpython/Doc'
../Tools/scripts/serve.py build/html
Serving build/html on port 8000, control-C to stop


I suggest this output:

Serving build/html on 0.0.0.0 port 8000 (http://0.0.0.0:8000/), control-C to stop

With this change and if the terminal supports the URL, we can click on the link.
History
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80392
2019-03-18 14:32:16mdksetstatus: open -> closed
superseder: Doc: make serve uses http.server instead of Tools/scripts/server.py
resolution: duplicate
stage: patch review -> resolved
2019-03-15 20:32:43matrixisesetnosy: + mdk, Mariatta
2019-03-06 13:20:43matrixisesetkeywords: + patch
stage: patch review
pull_requests: + pull_request12191
2019-03-06 13:15:18matrixisecreate