-
Notifications
You must be signed in to change notification settings - Fork 40
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
Substitute %(prog)s in description and epilog and in subparsers documentation. #113
base: master
Are you sure you want to change the base?
Conversation
47d3bb2
to
86c04c6
Compare
86c04c6
to
63cd64c
Compare
Would it be possible either to make new tarball release, or publish a version of the patch based on the top of 0.2.5 tarball? |
Sure, have a look at: https://github.com/qha/sphinx-argparse/tree/support-prog-in-description-backport |
Applied that on the top of 0.2.5 and the result is not very good: |
Discussion about the backport branch continues out of band to keep from cluttering this pull request. |
Yes, there was something wrong about the applying of patches. Now fixed. |
Thank you @qha , this helps us fix the package for Debian as well. |
Happy to hear it! (Particularly as i'm a Debian user myself.) |
63cd64c
to
595de4b
Compare
595de4b
to
06a3237
Compare
This provokes an error pointed out by snowman2 (Alan D. Snow) and a few others. Specifically help, usage, description and epilog strings.
Also adjust test cases to account for the new key.
Hello from 2022, what's the status of this PR? Was the issue fixed in another way? |
Thir repo is abandoned. Try @ashb fork |
@JOJ0 Ah, right. Thanks :-) |
According to https://pypi.org/project/sphinx-argparse/ @ashb is the new PyPI maintainer for |
I think, it is possible to file a ticket against PyPI (somewhere) and take over inactive account. |
@mcepl Yes, I've done that bit 😄 I mean I can't make changes to this git repo (close issues etc) |
Substitute %(prog)s in description and epilog and in subparsers documentation.
Also use plain name of types in substitutions rather than their repr.
Also enable pytest-3, python3 -m pytest, python3 setup.py test et cetera to run the test suite. (Closes #121.)