Use correct rustdoc 'html_root_url'.

Fixes #474.
This commit is contained in:
Sergio Benitez 2017-11-22 10:58:20 -08:00
parent edb494c6c3
commit aad97e6be0
3 changed files with 13 additions and 9 deletions

View File

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

View File

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

View File

@ -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
//!