From 6089fa8c2ce8befce7a68ec0cfcd562b6f7b0407 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Mon, 5 Sep 2016 22:10:15 +0300 Subject: [PATCH] docs.rs --- .travis.yml | 9 --------- Cargo.toml | 2 +- README.md | 4 +++- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9ff4962..93c5958c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ addons: env: global: - - secure: "FfubMXYXu2e7chvdfKBkc+aKPkvoBOb5Idg0KCYuD++qPFIBYg6pUE8H8WvU+V7RsEBu5vshhn3dzjkKs+LXIdo5PQUMZutAgy83g5SGxRn8Ra79GjBVBs6+XOEhFun/+7fGj2Ly/AK6BTDpqyYAhAUS7jIaF6/+JWNwPwEYfdQ=" - secure: "kVjHgK+6ivT5tUleNH/m6+69tPf8gkPNSPLsnXrkMJaIeXSnnKKQegP1O0UCThYAUbbwrUGlrKJUngDxkD8jSANhzAULX9t1iXho41InzYBEErTanXBYF8WO1rK1keKjLwiYw4KuvbiBoSeKabzQRwv0kMttxY57+hKVROr5dSg=" script: @@ -24,14 +23,6 @@ os: - osx after_success: - - | - [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - cargo doc && - echo '' > target/doc/index.html && - sudo pip install ghp-import && - ghp-import -n target/doc && - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages - | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && diff --git a/Cargo.toml b/Cargo.toml index a2738804..67cd7c6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["windowing", "opengl"] license = "Apache-2.0" readme = "README.md" repository = "https://github.com/tomaka/glutin" -documentation = "https://tomaka.github.io/glutin/" +documentation = "https://docs.rs/glutin" build = "build.rs" [dependencies] diff --git a/README.md b/README.md index ca079cbb..02d647ca 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![](http://meritbadge.herokuapp.com/glutin)](https://crates.io/crates/glutin) +[![Docs.rs](https://docs.rs/glutin/badge.svg)](https://docs.rs/glutin) + Alternative to GLFW in pure Rust. [![Build Status](https://travis-ci.org/tomaka/glutin.png?branch=master)](https://travis-ci.org/tomaka/glutin) @@ -13,7 +15,7 @@ Alternative to GLFW in pure Rust. glutin = "*" ``` -## [Documentation](http://tomaka.github.io/glutin/) +## [Documentation](https://docs.io/glutin) ## Try it!