rustdoc: Strip hidden docs by default.

This commit is contained in:
Alex Crichton 2013-09-24 14:09:11 -07:00
parent c4219a4783
commit f648690234
3 changed files with 3 additions and 4 deletions

View File

@ -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"];

View File

@ -63,6 +63,7 @@ static PASSES: &'static [Pass] = &[
static DEFAULT_PASSES: &'static [&'static str] = &[
"unindent-comments",
"collapse-docs",
"strip-hidden",
"strip-private",
];

View File

@ -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];