-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Add quick links table to argparse docs #65349
Comments
The argparse module has many functions and options. It would benefit from a summary and quick links table at the top of the page just like we have for the itertools module docs and the builtins module docs. |
I have used both quick link tables and agree that more would be nice in spite of the added maintenance burden. The re module is one I would like to see indexed. |
While 'argparse' is complex, its organization is quite different from 'itertools'. For most purposes there is one starting point: parser = argparse.ArgumentParser(...) Nearly everything else invokes a 'parser' method. Most complex and common is 'add_argument'. Some summary tables might be useful, but 'itertools' might not be best model. |
Hello All, I would like to help with this issue. I am a beginner. I am attaching a 'SampleOfSummaryTable.PNG' file which I think is one way of organizing summary table. I think if we put quick links of function parameters in summary table then it will make existing parameter quick links above detailed summary of each parameter as redundant. Please let me know if this is okay. |
Gaurav, overall this looks nice. I would drop the example column because it will make the row too wide for viewing. Alternatively, put the examples in a separate table (as was done for the combinatoric functions in the itertools docs: https://docs.python.org/3/library/itertools.html#module-itertools ). |
Could Raymond, Gaurav or paul help to review the PR's summary table? |
It looks like @LouieLu might not be around anymore to finish this PR? If there are no objections I'd like to give a new contributor @suhearsawho a shot at this. |
I'm available to start working on this bug. Please let me know if any suggestions, concerns or comments come up! Thank you. |
#12005 has been merged, it adds a Quick Links for add_argument()", for me it's enough to close this issue. Does anyone think we need more than |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: