Styling project command line options - #12146
Conversation
|
I like the change, but 80 new lines of Python, I don't fancy those. |
5a478c3 to
344b863
Compare
|
Dunno, I'm rather sceptical about having more Python and more custom CSS, both of which has to be supported in eternity (e. g., if ReadTheDocs makes breaking changes). |
This reverts commit 083f3ec.
- reject-unconstrained* was not indented at 4 spaces
46922ed to
bb59581
Compare
Thanks @ffaf1. The line count change is looking better. |
|
I am fine with extra python and css. I find sequence like |
Related to #12144, renders the project command line options with a command line style. The
--preceded options are parsed out or you can optionally use a:command-line-options:directive.Note
If this is acceptable and enough to show command line options (the
$prefix indicating this), then we might remove some of the text describing the same thing. In other words, instead of fixing #12144 by using the plural, we could remove a lot of that text where it adds no value.Warning
I used Copilot to write the
*.pyand*.csschanges.I used sphinx warnings reporting missing references to identify undocumented command line options. I've added these as a new "Undocumented options" section, a fraction of which is shown here:
Having an undocumented section like this gets rid of those missing reference warnings. Also note the
enable-*, disable-*items on the same line. This works for linking to references.