]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Allows to specify the port on which serve documentation (GH-31145)
authorChristophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Sun, 6 Feb 2022 10:22:06 +0000 (11:22 +0100)
committerGitHub <noreply@github.com>
Sun, 6 Feb 2022 10:22:06 +0000 (11:22 +0100)
commitf1e29cea8516d04c16d94bcb7bf24d4e2d32ffce
tree5cc304793bb60aa643d9795b37b7ec5c97576af0
parent96b344c2f15cb09251018f57f19643fe20637392
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
Doc/Makefile