From 121eeb138868c58fa383dc98b2d92564d57a2451 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Sun, 6 Nov 2016 09:47:36 +0100 Subject: [PATCH] chore(docs): Switch from self-hosted to docs.rs documentation (#49) --- .travis.yml | 3 --- Cargo.toml | 6 +++--- README.md | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23b99f7..5fdda2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,14 +15,11 @@ before_script: - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH script: - travis-cargo test -- --features $FEATURE --no-default-features - - travis-cargo doc -- --features $FEATURE --no-default-features after_success: - - "[[ $TRAVIS_OS_NAME = linux ]] && travis-cargo --only stable doc-upload" - "[[ $TRAVIS_OS_NAME = linux ]] && travis-cargo --only stable coveralls" env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE="" - - secure: "J3jotdDitbd+Lzx1hsafqrCXYTOC/BJUuVzcrXGr94+hetbd1S79aUEW3j1sBfmIhgHpgss2FkzqvvxpYjurMkqBtgWEb/eN942+gqGNuWZPi+wP/DOYWUrd1iaCT6cihHB6lfd54HB3DUOuwtVUz3m9twAYZ8leeHeSUD12O5k=" matrix: - FEATURE=with-serde-codegen - FEATURE=nightly diff --git a/Cargo.toml b/Cargo.toml index d02aa84..2b90a93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "yup-oauth2" -version = "1.0.1" +version = "1.0.2" authors = ["Sebastian Thiel ", "Lewin Bormann "] repository = "https://github.com/dermesser/yup-oauth2" -description = "An oauth2 implementation, providing the 'device' and 'installed' authorization flow" -documentation = "http://dermesser.github.io/yup-oauth2" +description = "An oauth2 implementation, providing the 'device', 'service account' and 'installed' authorization flows" +documentation = "https://docs.rs/yup-oauth2/" keywords = ["google", "oauth", "v2"] license = "MIT OR Apache-2.0" build = "src/build.rs" diff --git a/README.md b/README.md index 42d3106..5fbc595 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ work by you, as defined in the Apache-2.0 license, shall be dual licensed as abo additional terms or conditions. -[API-docs]: http://dermesser.github.io/yup-oauth2 +[API-docs]: https://docs.rs/yup-oauth2/ [examples]: https://github.com/dermesser/yup-oauth2/tree/master/examples [auth-usage]: https://raw.githubusercontent.com/dermesser/yup-oauth2/master/examples/auth.rs-usage.gif