Fix broken links in README

This commit is contained in:
gnzlbg 2019-02-21 10:18:06 +01:00
parent cd49efc997
commit dda85056bf
2 changed files with 10 additions and 5 deletions

View file

@ -51,11 +51,13 @@ newer Rust features are only available on newer Rust toolchains:
## Platform support
[Platform-specific documentation of libc's master branch for all supported platforms][docs.master].
[Platform-specific documentation (master branch)][docs.master].
See [`ci/build.sh`](ci/build.sh) for the platforms on which `libc` is
guaranteed to build for each Rust toolchain. The test-matrix at [Travis-CI],
[Appveyor], and [Cirrus-CI] show the platforms in which `libc` tests are run.
See
[`ci/build.sh`](https://github.com/rust-lang/libc/blob/master/libc-test/build.rs)
for the platforms on which `libc` is guaranteed to build for each Rust
toolchain. The test-matrix at [Travis-CI], [Appveyor], and [Cirrus-CI] show the
platforms in which `libc` tests are run.
<div class="platform_docs"></div>
@ -98,4 +100,4 @@ dual licensed as above, without any additional terms or conditions.
[Documentation]: https://docs.rs/libc/badge.svg
[docs.rs]: https://docs.rs/libc
[License]: https://img.shields.io/crates/l/libc.svg
[docs.master]: https://rust-lang.github.io/libc
[docs.master]: https://rust-lang.github.io/libc/#platform-specific-documentation

View file

@ -59,6 +59,9 @@ set +x
{ head -n "$((line-1))" $README; cat $PLATFORM_SUPPORT; tail -n "+$((line+1))" $README; } > $TARGET_DOC_DIR/$README
set -x
# Copy the licenses
cp LICENSE-* $TARGET_DOC_DIR/
# If we're on travis, not a PR, and on the right branch, publish!
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
pip install ghp_import --install-option="--prefix=$HOME/.local"