mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
Merge pull request #240 from tomaka/docs-rs
Switch to docs.rs for the documentation
This commit is contained in:
commit
aa5140fcd5
10
.travis.yml
10
.travis.yml
@ -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 ] &&
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user