Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-130160: use .. program:: directive for documenting http.server CLI#131010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
donbarbos commented Mar 9, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
picnixz commented Mar 9, 2025
Even if the flag is deprecated and planned for removal it's better to document as such. For the CLI rendering we can also just have |
picnixz commented Mar 9, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Note that 3.13 is still a stable release and deprecated features are still legitimate to use |
donbarbos commented Mar 10, 2025
picnixz commented Mar 10, 2025
I'll review it at home |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
picnixz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
hugovk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
donbarbos commented Mar 15, 2025
Thank you for review |
7ae9c5d into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @donbarbos for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…erver` CLI (pythonGH-131010) (cherry picked from commit 7ae9c5d) Co-authored-by: donBarbos <donbarbos@proton.me>
Sorry, @donbarbos and @hugovk, I could not cleanly backport this to |
GH-131293 is a backport of this pull request to the 3.13 branch. |
…erver` CLI (python#131010) (cherry picked from commit 7ae9c5d)
GH-131294 is a backport of this pull request to the 3.12 branch. |
…`http.server` CLI (pythonGH-131010) (python#131293) pythongh-130160: use `.. program::` directive for documenting `http.server` CLI (pythonGH-131010) (cherry picked from commit 7ae9c5d) Co-authored-by: donBarbos <donbarbos@proton.me>

I wasn't sure if I should move the
--cgiflag to this section as it is already deprecated and will be removed in3.15It is currently located below
CGIHTTPRequestHandlerclass descriptionmainbranchPRbranch.. program::and.. option::directives for modules with a documented CLI #130160📚 Documentation preview 📚: https://cpython-previews--131010.org.readthedocs.build/