update doc link

This commit is contained in:
Nikolay Kim 2017-06-15 10:47:42 -07:00
parent fd1088f948
commit 51115e70f2
3 changed files with 10 additions and 9 deletions

View file

@ -36,11 +36,12 @@ script:
# Upload docs
after_success:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
cargo doc --no-deps &&
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
git clone https://github.com/davisp/ghp-import.git &&
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc &&
echo "Uploaded documentation"
- if python -c "import sys; sys.exit(sys.version_info < (3,6))"; then
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
cargo doc --no-deps &&
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
git clone https://github.com/davisp/ghp-import.git &&
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc/pyo3 &&
echo "Uploaded documentation"
fi
fi

View file

@ -10,7 +10,7 @@ keywords = [
]
homepage = "https://github.com/pyo3/pyo3"
repository = "https://github.com/pyo3/pyo3.git"
documentation = "http://pyo3.github.io/pyo3/doc/pyo3/"
documentation = "http://pyo3.github.io/PyO3/"
categories = ["api-bindings", "development-tools::ffi"]
license = "MIT/APACHE-2"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]

View file

@ -2,7 +2,7 @@
[Rust](http://www.rust-lang.org/) bindings for the [python](https://www.python.org/) interpreter.
* [Documentation](http://pyo3.github.io/PyO3/doc/PyO3/)
* [Documentation](http://pyo3.github.io/PyO3/)
* Cargo package: [pyo3](https://crates.io/crates/pyo3)
---