update doc link
This commit is contained in:
parent
fd1088f948
commit
51115e70f2
15
.travis.yml
15
.travis.yml
|
@ -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
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue