mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-17 23:49:35 +01:00
CI: Build docs for all crates
This commit is contained in:
parent
bedc9b55eb
commit
a7c213e950
1 changed files with 7 additions and 8 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -409,24 +409,23 @@ jobs:
|
||||||
run: pip install git+https://github.com/linkchecker/linkchecker.git
|
run: pip install git+https://github.com/linkchecker/linkchecker.git
|
||||||
|
|
||||||
- name: Remove cargo-config
|
- name: Remove cargo-config
|
||||||
working-directory: ./rtic
|
|
||||||
run: rm -f .cargo/config
|
run: rm -f .cargo/config
|
||||||
|
|
||||||
- name: Fail on warnings
|
|
||||||
working-directory: ./rtic
|
|
||||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
working-directory: ./rtic
|
|
||||||
run: cargo doc
|
run: cargo doc
|
||||||
|
|
||||||
- name: Check links
|
- name: Check links
|
||||||
working-directory: ./rtic
|
|
||||||
run: |
|
run: |
|
||||||
td=$(mktemp -d)
|
td=$(mktemp -d)
|
||||||
cp -r target/doc $td/api
|
cp -r target/doc $td/api
|
||||||
linkchecker $td/api/rtic/
|
linkchecker $td/api/rtic
|
||||||
linkchecker $td/api/rtic_macros/
|
linkchecker $td/api/rtic_macros/
|
||||||
|
linkchecker $td/api/rtic-arbiter/
|
||||||
|
linkchecker $td/api/rtic-channel/
|
||||||
|
linkchecker $td/api/rtic-common/
|
||||||
|
linkchecker $td/api/rtic-macros/
|
||||||
|
linkchecker $td/api/rtic-monotonics/
|
||||||
|
linkchecker $td/api/rtic-time/
|
||||||
|
|
||||||
# Build the books
|
# Build the books
|
||||||
mdbook:
|
mdbook:
|
||||||
|
|
Loading…
Reference in a new issue