⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@ProfessorLogout
Copy link
Contributor

Nothing major, just a small bug in the command shown to serve the docs of a project after building.

Example, using the click project:

With the current command:

$ python -m http.server docs/_build/dirhtml

usage: server.py [-h] [--cgi] [-b ADDRESS] [-d DIRECTORY] [-p VERSION] [port]
server.py: error: argument port: invalid int value: 'docs/_build/dirhtml'

With the fixed command:

$ python -m http.server -d docs/_build/dirhtml

Serving HTTP on :: port 8000 (http://[::]:8000/) ...

@davidism davidism merged commit 8877b42 into pallets:main Jun 24, 2025
1 check passed
@ProfessorLogout ProfessorLogout deleted the fix-building-docs branch June 24, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants