summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-21 10:18:06 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-21 10:18:06 +0100
commitdda85056bf578a2f99a58a32ab4bbd57900c3343 (patch)
tree2ac7f7acbd439a792f518151eb394fef5cb2e77f
parentcd49efc997f2aa513e4021130b00f89d9434acdb (diff)
downloadrust-libc-dda85056bf578a2f99a58a32ab4bbd57900c3343.tar.gz
Fix broken links in README
-rw-r--r--README.md12
-rw-r--r--ci/dox.sh3
2 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index f04816d956..a974ccd414 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/ci/dox.sh b/ci/dox.sh
index da996604b4..ce55081476 100644
--- a/ci/dox.sh
+++ b/ci/dox.sh
@@ -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"