Add #![doc(html_root_url = "...")] attribute

This commit is contained in:
Chris Wong 2017-05-13 14:16:41 +12:00
parent be88fc39d5
commit 348712f3f4
3 changed files with 6 additions and 0 deletions
maud/src
maud_extras
maud_macros/src

View file

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

View file

@ -1,6 +1,8 @@
#![feature(plugin)]
#![plugin(maud_macros)]
#![doc(html_root_url = "https://lambda.xyz/maud/")]
extern crate maud;
use maud::{Markup, Render};

View file

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