about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Light <scialexlight@gmail.com>2014-11-30 08:19:29 -0500
committerAlexander Light <scialexlight@gmail.com>2014-12-03 12:49:59 -0500
commite621116b867c7e4b2d7082aa9460f635443cd1b8 (patch)
tree2a900da6158c28e5450336413dad1cd00a1f7d85
parent3a325c666d2cb7e297bf3057ff2442f96a79428b (diff)
make fmt_macros and rustdoc have standard doc attributes
-rw-r--r--src/libfmt_macros/lib.rs5
-rw-r--r--src/librustdoc/lib.rs4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs
index 6b8fafbed5d..03b65b3f71c 100644
--- a/src/libfmt_macros/lib.rs
+++ b/src/libfmt_macros/lib.rs
@@ -18,6 +18,11 @@
 #![experimental]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
+#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
+       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
+       html_root_url = "http://doc.rust-lang.org/nightly/",
+       html_playground_url = "http://play.rust-lang.org/")]
+
 #![feature(macro_rules, globs, import_shadowing)]
 pub use self::Piece::*;
 pub use self::Position::*;
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index c592474b057..bc02d8c4c30 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -12,6 +12,10 @@
 #![experimental]
 #![crate_type = "dylib"]
 #![crate_type = "rlib"]
+#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
+       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
+       html_root_url = "http://doc.rust-lang.org/nightly/",
+       html_playground_url = "http://play.rust-lang.org/")]
 
 #![allow(unknown_features)]
 #![feature(globs, if_let, macro_rules, phase, slicing_syntax, tuple_indexing)]