Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-130160: use.. program::
directive for documentinghttp.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 ourterms of service andprivacy 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
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 commentedMar 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 |
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.
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.
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.
Thank you for review |
7ae9c5d
intopython: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 commit7ae9c5d)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 the3.13 branch. |
…erver` CLI (python#131010)(cherry picked from commit7ae9c5d)
GH-131294 is a backport of this pull request to the3.12 branch. |
…`http.server` CLI (pythonGH-131010) (python#131293)pythongh-130160: use `.. program::` directive for documenting `http.server` CLI (pythonGH-131010)(cherry picked from commit7ae9c5d)Co-authored-by: donBarbos <donbarbos@proton.me>
Uh oh!
There was an error while loading.Please reload this page.
I wasn't sure if I should move the
--cgi
flag to this section as it is already deprecated and will be removed in3.15
It is currently located below
CGIHTTPRequestHandler
class descriptionmain
branchPR
branch.. program::
and.. option::
directives for modules with a documented CLI #130160📚 Documentation preview 📚:https://cpython-previews--131010.org.readthedocs.build/