Skip to content

Commit dda8505

Browse files
committed
Fix broken links in README
1 parent cd49efc commit dda8505

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ newer Rust features are only available on newer Rust toolchains:
5151

5252
## Platform support
5353

54-
[Platform-specific documentation of libc's master branch for all supported platforms][docs.master].
54+
[Platform-specific documentation (master branch)][docs.master].
5555

56-
See [`ci/build.sh`](ci/build.sh) for the platforms on which `libc` is
57-
guaranteed to build for each Rust toolchain. The test-matrix at [Travis-CI],
58-
[Appveyor], and [Cirrus-CI] show the platforms in which `libc` tests are run.
56+
See
57+
[`ci/build.sh`](https://github.com/rust-lang/libc/blob/master/libc-test/build.rs)
58+
for the platforms on which `libc` is guaranteed to build for each Rust
59+
toolchain. The test-matrix at [Travis-CI], [Appveyor], and [Cirrus-CI] show the
60+
platforms in which `libc` tests are run.
5961

6062
<div class="platform_docs"></div>
6163

@@ -98,4 +100,4 @@ dual licensed as above, without any additional terms or conditions.
98100
[Documentation]: https://docs.rs/libc/badge.svg
99101
[docs.rs]: https://docs.rs/libc
100102
[License]: https://img.shields.io/crates/l/libc.svg
101-
[docs.master]: https://rust-lang.github.io/libc
103+
[docs.master]: https://rust-lang.github.io/libc/#platform-specific-documentation

ci/dox.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ set +x
5959
{ head -n "$((line-1))" $README; cat $PLATFORM_SUPPORT; tail -n "+$((line+1))" $README; } > $TARGET_DOC_DIR/$README
6060
set -x
6161

62+
# Copy the licenses
63+
cp LICENSE-* $TARGET_DOC_DIR/
64+
6265
# If we're on travis, not a PR, and on the right branch, publish!
6366
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
6467
pip install ghp_import --install-option="--prefix=$HOME/.local"

0 commit comments

Comments
 (0)