SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 32 Python

Allows to specify the port on which serve documentation (GH-31145)

[user@localhost]$ make serve      # default configuration, no change
python3 ../Tools/scripts/serve.py build/html
Serving build/html on port 8000, control-C to stop
^CShutting down.

[user@localhost]$ make serve SERVE_PORT=8080 # new option
python3 ../Tools/scripts/serve.py build/html 8080
Serving build/html on port 8080, control-C to stop
C
Christophe Nanteuil committed
f1e29cea8516d04c16d94bcb7bf24d4e2d32ffce
Parent: 96b344c
Committed by GitHub <noreply@github.com> on 2/6/2022, 10:22:06 AM