docs: split CLI args in HTML output into rows#3379
Merged
Conversation
instead of separating them with a comma, so that it adds anchors to secondary arguments. The rendered manpage already splits arguments into multiple rows if there are multiple arguments for a specific command. Fix CSS of the rtd_theme_violet theme and hide empty argument values.
Member
Author
|
This is cherry-picked from the furo-theme PR, with fixes for the current theme. The CSS fixes are rather ugly, but that's because of the layout of the docutils output and theme styling, and it's supposed to work everywhere. Btw, I'd love to split the CLI docs page into two pages:
The reason for this is that finding CLI arguments is always a bit annoying and you have to scroll down. On the current theme, this is especially a problem, because the individual CLI argument sections are not listed in a TOC menu, like on the furo theme. |
Member
Author
Billy2011
added a commit
to Billy2011/streamlink-27
that referenced
this pull request
Dec 4, 2020
instead of separating them with a comma, so that it adds anchors to secondary arguments. The rendered manpage already splits arguments into multiple rows if there are multiple arguments for a specific command. Fix CSS of the rtd_theme_violet theme and hide empty argument values. streamlink#3379
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


instead of separating them with a comma, so that it adds anchors to
secondary arguments. The rendered manpage already splits arguments into
multiple rows if there are multiple arguments for a specific command.
Fix CSS of the rtd_theme_violet theme and hide empty argument values.