rustdoc: Strip hidden docs by default.
This commit is contained in:
parent
c4219a4783
commit
f648690234
@ -26,8 +26,7 @@ Rust extras are part of the standard Rust distribution.
|
||||
url = "https://github.com/mozilla/rust/tree/master/src/libextra")];
|
||||
|
||||
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
passes = "strip-hidden")];
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico")];
|
||||
|
||||
#[comment = "Rust extras"];
|
||||
#[license = "MIT/ASL2"];
|
||||
|
@ -63,6 +63,7 @@ static PASSES: &'static [Pass] = &[
|
||||
static DEFAULT_PASSES: &'static [&'static str] = &[
|
||||
"unindent-comments",
|
||||
"collapse-docs",
|
||||
"strip-hidden",
|
||||
"strip-private",
|
||||
];
|
||||
|
||||
|
@ -58,8 +58,7 @@ they contained the following prologue:
|
||||
#[crate_type = "lib"];
|
||||
|
||||
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
passes = "strip-hidden")];
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico")];
|
||||
|
||||
// Don't link to std. We are std.
|
||||
#[no_std];
|
||||
|
Loading…
Reference in New Issue
Block a user