-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
[rustdoc] Add option to hide deprecated items #149483
Copy link
Copy link
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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.
When looking throught the documentation of a library, I generally want to ignore deprecated items. Some libraries (the standard library in particular) never make breaking changes, so they slowly accumulate a layer of deprecated functions that only adds noise to the documentation when working on greenfield projects.
It would be nice if there was an option to hide deprecated items in the docs.rs documentation.