command-line-reference options should be grouped by DocumentationCategory, not command #3758
Labels
not stale
Issues or PRs that are inactive but not considered stale
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: documentation (cleanup)
type: feature request
The current generated option documentation groups options by command. For options that are inherited through the command hierarchy (
test
inherits frombuild
, etc), we don't list the options twice, but for options lists that are included in many commands explicitely, we list the option multiple times.Instead of this cat and mouse game where, to find out if an option applies to a command, you see what command it's listed under and what other commands inherit from it, the options should just list the commands to which they apply:
At this point, each option would only need to be listed once, which means we could link to the option documentation clearly from elsewhere in the docs.
The text was updated successfully, but these errors were encountered: