Merge pull request #240 from tomaka/docs-rs

Switch to docs.rs for the documentation
This commit is contained in:
tomaka 2016-09-01 16:50:39 +02:00 committed by GitHub
commit aa5140fcd5
2 changed files with 4 additions and 10 deletions

View File

@ -27,15 +27,7 @@ script:
- cargo test --no-run -j 1 -v --manifest-path vulkano/Cargo.toml
- cargo build -j 1 --manifest-path examples/Cargo.toml
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo install ghp &&
export PATH=/home/travis/.cargo/bin:$PATH &&
cargo doc --manifest-path vulkano/Cargo.toml &&
ghp vulkano/target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&

View File

@ -26,7 +26,9 @@ What does vulkano do?
**Warning: this library breaks every five minutes for the moment.**
## [Documentation](http://tomaka.github.io/vulkano/vulkano/index.html)
## [Documentation](https://docs.rs/vulkano)
[![](https://docs.rs/vulkano/badge.svg)](https://docs.rs/vulkano)
To get started you are encouraged to read the examples in `examples/src/bin`, starting with
the `triangle` example.