diff --git a/maud/src/lib.rs b/maud/src/lib.rs index b4febd8..6e5b06e 100644 --- a/maud/src/lib.rs +++ b/maud/src/lib.rs @@ -7,6 +7,8 @@ //! //! [book]: https://maud.lambda.xyz/ +#![doc(html_root_url = "https://lambda.xyz/maud/")] + #[cfg(feature = "iron")] extern crate iron; #[cfg(feature = "rocket")] extern crate rocket; diff --git a/maud_extras/lib.rs b/maud_extras/lib.rs index 1f2aec7..816dfbf 100644 --- a/maud_extras/lib.rs +++ b/maud_extras/lib.rs @@ -1,6 +1,8 @@ #![feature(plugin)] #![plugin(maud_macros)] +#![doc(html_root_url = "https://lambda.xyz/maud/")] + extern crate maud; use maud::{Markup, Render}; diff --git a/maud_macros/src/lib.rs b/maud_macros/src/lib.rs index dba1944..b053a0f 100644 --- a/maud_macros/src/lib.rs +++ b/maud_macros/src/lib.rs @@ -4,6 +4,8 @@ #![feature(rustc_private)] #![recursion_limit = "1000"] // if_chain +#![doc(html_root_url = "https://lambda.xyz/maud/")] + #[macro_use] extern crate if_chain; #[macro_use]