From e22cdea2b24ce65b4de25adbb6cce727f20ac2f5 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 22 Feb 2015 12:43:06 -0800 Subject: [PATCH] Add doc roots --- phf_codegen/src/lib.rs | 1 + phf_generator/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/phf_codegen/src/lib.rs b/phf_codegen/src/lib.rs index bc3ea40d..69b5728f 100644 --- a/phf_codegen/src/lib.rs +++ b/phf_codegen/src/lib.rs @@ -54,6 +54,7 @@ //! KEYWORDS.get(keyword).cloned() //! } //! ``` +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc")] #![feature(io)] extern crate phf_shared; diff --git a/phf_generator/src/lib.rs b/phf_generator/src/lib.rs index db718564..6cf84507 100644 --- a/phf_generator/src/lib.rs +++ b/phf_generator/src/lib.rs @@ -1,3 +1,4 @@ +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc")] extern crate phf_shared; extern crate rand;