From a7c213e9508e61c8835986e0bfb9e47c47e91fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 8 Feb 2023 19:49:15 +0100 Subject: [PATCH] CI: Build docs for all crates --- .github/workflows/build.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28f7349695..d86c27994c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -409,24 +409,23 @@ jobs: run: pip install git+https://github.com/linkchecker/linkchecker.git - name: Remove cargo-config - working-directory: ./rtic 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 - working-directory: ./rtic run: cargo doc - name: Check links - working-directory: ./rtic run: | td=$(mktemp -d) cp -r target/doc $td/api - linkchecker $td/api/rtic/ + linkchecker $td/api/rtic 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 mdbook: