提交 f6486902 编写于 作者: A Alex Crichton

rustdoc: Strip hidden docs by default.

上级 c4219a47
......@@ -26,8 +26,7 @@
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 @@ pub mod html {
static DEFAULT_PASSES: &'static [&'static str] = &[
"unindent-comments",
"collapse-docs",
"strip-hidden",
"strip-private",
];
......
......@@ -58,8 +58,7 @@
#[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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册