Skip to content

Commit b4b6a53

Browse files
committed
Auto merge of #3378 - JohnTitor:fix/rm-gh-pages, r=JohnTitor
Say goodbye to GH Pages in favor of docs.rs Fixes #3363
2 parents 0d6554f + 14a7560 commit b4b6a53

File tree

5 files changed

+1
-145
lines changed

5 files changed

+1
-145
lines changed

.github/workflows/bors.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -335,24 +335,6 @@ jobs:
335335
- name: Build with check-cfg
336336
run: LIBC_CI=1 LIBC_CHECK_CFG=1 cargo build -Z unstable-options -Z check-cfg=features,names,values,output
337337

338-
docs:
339-
permissions:
340-
actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds)
341-
contents: read # to fetch code (actions/checkout)
342-
343-
name: Generate documentation
344-
runs-on: ubuntu-22.04
345-
needs: docker_linux_tier2
346-
steps:
347-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@HEAD
348-
with:
349-
github_token: "${{ secrets.GITHUB_TOKEN }}"
350-
- uses: actions/checkout@v3
351-
- name: Setup Rust toolchain
352-
run: sh ./ci/install-rust.sh
353-
- name: Generate documentation
354-
run: LIBC_CI=1 sh ci/dox.sh
355-
356338
# These jobs doesn't actually test anything, but they're only used to tell
357339
# bors the build completed, as there is no practical way to detect when a
358340
# workflow is successful listening to webhooks only.
@@ -374,7 +356,6 @@ jobs:
374356
build_channels_linux,
375357
build_channels_macos,
376358
build_channels_windows,
377-
docs,
378359
]
379360

380361
steps:
@@ -396,7 +377,6 @@ jobs:
396377
build_channels_linux,
397378
build_channels_macos,
398379
build_channels_windows,
399-
docs,
400380
]
401381

402382
steps:

.github/workflows/docs.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ newer Rust features are only available on newer Rust toolchains:
6060

6161
## Platform support
6262

63-
[Platform-specific documentation (HEAD)][docs.head].
63+
You can see the platform(target)-specific docs on [docs.rs], select a platform you want to see.
6464

6565
See
6666
[`ci/build.sh`](https://github.com/rust-lang/libc/blob/HEAD/ci/build.sh)
@@ -107,4 +107,3 @@ dual licensed as above, without any additional terms or conditions.
107107
[Documentation]: https://docs.rs/libc/badge.svg
108108
[docs.rs]: https://docs.rs/libc
109109
[License]: https://img.shields.io/crates/l/libc.svg
110-
[docs.head]: https://rust-lang.github.io/libc/#platform-specific-documentation

ci/dox.sh

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
//! libc - Raw FFI bindings to platforms' system libraries
2-
//!
3-
//! [Documentation for other platforms][pd].
4-
//!
5-
//! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation
62
#![crate_name = "libc"]
73
#![crate_type = "rlib"]
84
#![allow(

0 commit comments

Comments
 (0)