-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
gh-130160: use .. program::
directive for documenting http.server
CLI
#131010
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 |
Note that 3.13 is still a stable release and deprecated features are still legitimate to use |
I'll review it at home |
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!
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 <[email protected]>
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. |
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/