add #[doc(html_root_url)] to all published crates

This commit is contained in:
Yusuke Sasaki 2018-09-24 19:07:44 +09:00 committed by theduke
parent 06eee4c1a7
commit 0ae2475bb8
6 changed files with 9 additions and 0 deletions

View file

@ -88,6 +88,7 @@ Juniper has not reached 1.0 yet, thus some API instability should be expected.
[chrono]: https://crates.io/crates/chrono
*/
#![doc(html_root_url = "https://docs.rs/juniper/0.11.1")]
#![warn(missing_docs)]
#[doc(hidden)]

View file

@ -4,6 +4,7 @@
//! You should not depend on juniper_codegen directly.
//! You only need the `juniper` crate.
#![doc(html_root_url = "https://docs.rs/juniper_codegen/0.11.1")]
#![recursion_limit = "1024"]
extern crate proc_macro;

View file

@ -1,3 +1,5 @@
#![doc(html_root_url = "https://docs.rs/juniper_hyper/0.2.0")]
#[cfg(test)]
extern crate reqwest;

View file

@ -103,6 +103,8 @@ supported.
*/
#![doc(html_root_url = "https://docs.rs/juniper_iron/0.3.0")]
#[cfg(test)]
extern crate iron_test;
#[cfg(test)]

View file

@ -36,6 +36,8 @@ Check the LICENSE file for details.
*/
#![doc(html_root_url = "https://docs.rs/juniper_rocket/0.2.0")]
#![feature(decl_macro, proc_macro_hygiene)]
use std::error::Error;

View file

@ -38,6 +38,7 @@ Check the LICENSE file for details.
#![deny(missing_docs)]
#![deny(warnings)]
#![doc(html_root_url = "https://docs.rs/juniper_warp/0.2.0")]
use futures::{future::poll_fn, Future};
use juniper::{DefaultScalarValue, InputValue, ScalarRefValue, ScalarValue};