diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index a10b0847..137737fb 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -1,3 +1,14 @@ +#![crate_type = "dylib"] +#![feature(quote, concat_idents, plugin_registrar, rustc_private)] +#![feature(iterator_for_each)] +#![feature(custom_attribute)] +#![feature(i128_type)] +#![allow(unused_attributes)] +#![allow(deprecated)] + +// TODO: Version URLs. +#![doc(html_root_url = "https://api.rocket.rs")] + //! # Rocket - Code Generation //! //! This crate implements the code generation portions of Rocket. This includes @@ -212,13 +223,6 @@ //! ROCKET_CODEGEN_DEBUG=1 cargo build //! ``` -#![crate_type = "dylib"] -#![feature(quote, concat_idents, plugin_registrar, rustc_private)] -#![feature(iterator_for_each)] -#![feature(custom_attribute)] -#![feature(i128_type)] -#![allow(unused_attributes)] -#![allow(deprecated)] #[macro_use] extern crate log; extern crate syntax; diff --git a/contrib/src/lib.rs b/contrib/src/lib.rs index 5ff7c9df..d538fee5 100644 --- a/contrib/src/lib.rs +++ b/contrib/src/lib.rs @@ -2,7 +2,7 @@ #![cfg_attr(feature = "templates", feature(conservative_impl_trait))] // TODO: Version URLs. -#![doc(html_root_url = "https://api.rocket.rs/rocket_contrib/")] +#![doc(html_root_url = "https://api.rocket.rs")] //! This crate contains officially sanctioned contributor libraries that provide //! functionality commonly used by Rocket applications. diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 4eced1aa..417cbf2a 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -8,7 +8,7 @@ #![plugin(pear_codegen)] // TODO: Version URLs. -#![doc(html_root_url = "https://api.rocket.rs/rocket/")] +#![doc(html_root_url = "https://api.rocket.rs")] //! # Rocket - Core API Documentation //!