diff --git a/Cargo.toml b/Cargo.toml index 5a5a6d9cc..296f35e8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Alex Crichton "] license = "MIT/Apache-2.0" repository = "https://github.com/alexcrichton/tokio-signal" homepage = "https://github.com/alexcrichton/tokio-signal" -documentation = "https://alexcrichton.github.io/tokio-signal" +documentation = "https://docs.rs/tokio-signal/0.1" description = """ An implementation of an asynchronous Unix signal handling backed futures. """ diff --git a/README.md b/README.md index 6cedacb64..e6aeda77f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An implementation of Unix signal handling for Tokio [![Build Status](https://travis-ci.org/alexcrichton/tokio-signal.svg?branch=master)](https://travis-ci.org/alexcrichton/tokio-signal) -[Documentation](https://alexcrichton.github.io/tokio-signal) +[Documentation](https://docs.rs/tokio-signal) ## Usage @@ -12,7 +12,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tokio-signal = { git = "https://github.com/alexcrichton/tokio-signal" } +tokio-signal = "0.1" ``` Next, add this to your crate: diff --git a/src/lib.rs b/src/lib.rs index 261dcb46a..780d7f0bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,7 @@ //! > It's planned that this will be bound and exported outside the //! > `unix` module in the future! +#![doc(html_root_url = "https://docs.rs/tokio-signal/0.1")] #![deny(missing_docs)] #[macro_use]