summary refs log tree commit diff
path: root/src/librustdoc/passes/collapse_docs.rs
AgeCommit message (Collapse)AuthorLines
2020-01-04Distinguish between private items and hidden items in rustdocDavid Tolnay-1/+1
I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another.
2019-12-22Format the worldMark Rousskov-10/+10
2019-08-11Store typed PassesMark Rousskov-1/+3
2019-07-01Fix import of take in collapse_docs.rsChris Gregory-1/+1
2019-07-01Convert more usages overChris Gregory-1/+1
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-1/+1
2019-02-23merge early and late passes into single structAndy Russell-3/+5
2019-02-23move collapse and unindent docs passes earlierAndy Russell-2/+3
2019-02-23Transition librustdoc to 2018 editionHirokazu Hata-4/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-04strongly-typed passesQuietMisdreavus-0/+5
2018-07-24remove pluginmanagersteveklabnik-2/+1
2017-11-21allow loading external files in documentationQuietMisdreavus-9/+63
Partial implementation of https://github.com/rust-lang/rfcs/pull/1990 (needs error reporting work) cc #44732
2016-11-24rustdoc: use libsyntax ast::Attribute instead of "cleaning" them.Eduard-Mihai Burtescu-22/+15
2016-09-25Move in-pass-function structs and impls outside functions.Corey Farwell-22/+24
Now that each pass has its own module, there's not much of a reason to keep these structs within the functions.
2016-09-25Separate rustdoc passes into separate modules.Corey Farwell-0/+45