-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
rustdoc: Rename --show-coverage to --output-format coverage (and coverage-json) #84012
Copy link
Copy link
Open
Labels
A-doc-coverageArea: Calculating how much of a crate has documentationArea: Calculating how much of a crate has documentationC-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-doc-coverageArea: Calculating how much of a crate has documentationArea: Calculating how much of a crate has documentationC-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Right now,
--output-formatis greatly overloaded (as seen by #82497).--output-format jsonis unstable, except when you use it with--show-coverage. Also,--show-coverageis not great at conveying that it stops documentation from being generated at all.I suggest that we rename
--show-coverageto--output-format coverageand--show-coverage --output-format jsonto--output-format coverage-json, deprecate the old uses for a few releases, and then remove them.