Uh oh!
There was an error while loading. Please reload this page.
gh-130160: use .. program:: directive for documenting http.server CLI - #131010
Conversation
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 |
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.
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 |
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/