From 61142c5aa168cff1bf53a6961ddc12012b49e1bb Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 5 Dec 2016 20:10:43 -0800 Subject: [PATCH] Link to docs.rs Closes #98 --- README.md | 2 +- phf/Cargo.toml | 2 +- phf/src/lib.rs | 2 +- phf_builder/Cargo.toml | 2 +- phf_builder/src/lib.rs | 2 +- phf_codegen/Cargo.toml | 2 +- phf_codegen/src/lib.rs | 2 +- phf_generator/Cargo.toml | 2 +- phf_generator/src/lib.rs | 2 +- phf_macros/Cargo.toml | 2 +- phf_macros/src/lib.rs | 2 +- phf_shared/Cargo.toml | 2 +- phf_shared/src/lib.rs | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 639656d4..b613fbb7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Rust-PHF [![Build Status](https://travis-ci.org/sfackler/rust-phf.png?branch=master)](https://travis-ci.org/sfackler/rust-phf) [![Latest Version](https://img.shields.io/crates/v/phf.svg)](https://crates.io/crates/phf) -[Documentation](https://sfackler.github.io/rust-phf/doc/v0.7.20/phf) +[Documentation](https://docs.rs/phf/0.7.20/phf) Rust-PHF is a library to generate efficient lookup tables at compile time using [perfect hash functions](http://en.wikipedia.org/wiki/Perfect_hash_function). diff --git a/phf/Cargo.toml b/phf/Cargo.toml index f3ff0047..016435e0 100644 --- a/phf/Cargo.toml +++ b/phf/Cargo.toml @@ -5,7 +5,7 @@ version = "0.7.20" license = "MIT" description = "Runtime support for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf" +documentation = "https://docs.rs/phf/0.7.20/phf" [lib] name = "phf" diff --git a/phf/src/lib.rs b/phf/src/lib.rs index 7c9e7c2f..91c296bc 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -3,7 +3,7 @@ //! PHF data structures can be generated via the syntax extensions in the //! `phf_macros` crate or via code generation in the `phf_codegen` crate. See //! the documentation of those crates for more details. -#![doc(html_root_url="https://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf/0.7.20")] #![warn(missing_docs)] #![cfg_attr(feature = "core", no_std)] diff --git a/phf_builder/Cargo.toml b/phf_builder/Cargo.toml index e317bcad..5f2e91f4 100644 --- a/phf_builder/Cargo.toml +++ b/phf_builder/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Steven Fackler "] license = "MIT" description = "Runtime creation of perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_builder" +documentation = "https://docs.rs/phf_builder/0.7.20/phf_builder" [dependencies] phf = { version = "=0.7.20", path = "../phf" } diff --git a/phf_builder/src/lib.rs b/phf_builder/src/lib.rs index 1b3f2df7..bd7daa9f 100644 --- a/phf_builder/src/lib.rs +++ b/phf_builder/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf_builder/0.7.20")] extern crate phf; extern crate phf_generator; diff --git a/phf_codegen/Cargo.toml b/phf_codegen/Cargo.toml index 5f38ccde..432f79a3 100644 --- a/phf_codegen/Cargo.toml +++ b/phf_codegen/Cargo.toml @@ -5,7 +5,7 @@ version = "0.7.20" license = "MIT" description = "Codegen library for PHF types" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_codegen" +documentation = "https://docs.rs/phf_codegen/0.7.20/phf_codegen" [dependencies] phf_generator = { version = "=0.7.20", path = "../phf_generator" } diff --git a/phf_codegen/src/lib.rs b/phf_codegen/src/lib.rs index 5bda3e01..cdde54ce 100644 --- a/phf_codegen/src/lib.rs +++ b/phf_codegen/src/lib.rs @@ -78,7 +78,7 @@ //! builder.entry("world", "2"); //! // ... //! ``` -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf_codegen/0.7.20")] extern crate phf_shared; extern crate phf_generator; diff --git a/phf_generator/Cargo.toml b/phf_generator/Cargo.toml index d9d0194c..bd57028b 100644 --- a/phf_generator/Cargo.toml +++ b/phf_generator/Cargo.toml @@ -5,7 +5,7 @@ version = "0.7.20" license = "MIT" description = "PHF generation logic" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_generator" +documentation = "https://docs.rs/phf_generator/0.7.20/phf_generator" [dependencies] rand = "0.3" diff --git a/phf_generator/src/lib.rs b/phf_generator/src/lib.rs index ab90c78c..95f72195 100644 --- a/phf_generator/src/lib.rs +++ b/phf_generator/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf_generator/0.7.20")] extern crate phf_shared; extern crate rand; diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml index 012a24d2..1e622a40 100644 --- a/phf_macros/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -5,7 +5,7 @@ version = "0.7.20" license = "MIT" description = "Compiler plugin for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_macros" +documentation = "https://docs.rs/phf_macros/0.7.20/phf_macros" [lib] name = "phf_macros" diff --git a/phf_macros/src/lib.rs b/phf_macros/src/lib.rs index 1c630fde..bd336baf 100644 --- a/phf_macros/src/lib.rs +++ b/phf_macros/src/lib.rs @@ -30,7 +30,7 @@ //! } //! # fn main() {} //! ``` -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf_macros/0.7.20")] #![feature(plugin_registrar, quote, rustc_private)] extern crate syntax; diff --git a/phf_shared/Cargo.toml b/phf_shared/Cargo.toml index 733ef4dc..3108cd1e 100644 --- a/phf_shared/Cargo.toml +++ b/phf_shared/Cargo.toml @@ -5,7 +5,7 @@ version = "0.7.20" license = "MIT" description = "Support code shared by PHF libraries" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_shared" +documentation = "https://docs.rs/phf_shared/0.7.20/phf_shared" [lib] name = "phf_shared" diff --git a/phf_shared/src/lib.rs b/phf_shared/src/lib.rs index 4b2571c8..fe636be9 100644 --- a/phf_shared/src/lib.rs +++ b/phf_shared/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] +#![doc(html_root_url="https://docs.rs/phf_shared/0.7.20")] #![cfg_attr(feature = "core", no_std)] #[cfg(not(feature = "core"))]