Skip to content
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

Line breaks in usage #38

Closed
ajm188 opened this issue Aug 30, 2016 · 6 comments
Closed

Line breaks in usage #38

ajm188 opened this issue Aug 30, 2016 · 6 comments

Comments

@ajm188
Copy link

ajm188 commented Aug 30, 2016

My generated usage text is way too long, so it generates a very narrow scrolling window in order view it all.

It would be awesome if there was a way to insert line breaks in the usage to make it look prettier.

@ajm188
Copy link
Author

ajm188 commented Aug 31, 2016

Based on my skimming, this relates most closely to #19

@dpryan79
Copy link
Collaborator

Are you referring specifically to "usage" lines, such as this: https://github.com/fidelram/deepTools/blob/master/deeptools/computeMatrix.py#L61-L62 ?

At least in cases such as that with html output you can insert \n where ever you like. Regarding the documentation for the actual options, I agree that it'd be nice to choose between scrolling down and sideways.

@ajm188
Copy link
Author

ajm188 commented Nov 29, 2016

@dpryan79 I'm talking more about the scrolling, I think. See my comments here for more info.

Happy to help dig in to this. Thanks for the reply!

@dpryan79
Copy link
Collaborator

This was annoying me too but the solution has nothing to do with sphinx-argparse. You end up needing to override the CSS style sheet that's applied. There are some nice step-by-step instructions here. I'll add a link to that in the documentation, since I expect many people would like to change this.

@dpryan79
Copy link
Collaborator

This is now documented in the develop branch.

@ajm188
Copy link
Author

ajm188 commented Dec 1, 2016

Awesome thanks! @dpryan79++ 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants