-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-126071: Improve formatting of the argparse documentation #126073
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
Conversation
* Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors.
Just to mention that this PR successfully fixes an issue when extracting source messages for translation (using Sphinx's gettext builder) that was splitting descriptions into difference translation messages. Thanks! How it looks before applying this fix:
|
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 for taking another pass at cleaning up the docs, Serhiy. This looks great.
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 @serhiy-storchaka for the PR and @savannahostrowski for the review.
One small correction. Please feel free to merge @serhiy-storchaka. ☀️
Co-authored-by: Carol Willing <[email protected]>
Thank you @savannahostrowski and @willingc for your review. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
GH-126173 is a backport of this pull request to the 3.13 branch. |
…ion (pythonGH-126073) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors. (cherry picked from commit 2ab377a) Co-authored-by: Serhiy Storchaka <[email protected]>
…ion (pythonGH-126073) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors. (cherry picked from commit 2ab377a) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-126174 is a backport of this pull request to the 3.12 branch. |
…H-126073) (GH-126174) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors. (cherry picked from commit 2ab377a)
…H-126073) (GH-126173) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors. (cherry picked from commit 2ab377a)
…thonGH-126073) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors.
…thonGH-126073) * Use appropriate roles for ArgumentParser, Action, etc. * Remove superfluous repeated links. * Explicitly document signatures and add index entries for some methods and classes. * Make it more clear that some parameters are keyword-only. * Fix some minor errors.
📚 Documentation preview 📚: https://cpython-previews--126073.org.readthedocs.build/