From 32f5ef31736e018a2bf8145de15dbe7a48a439d5 Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:30:11 -0500 Subject: [PATCH] fix: use `cargo doc-lints` when building github pages --- .github/workflows/docs.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4b7d06a..43092c0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,10 +37,9 @@ jobs: sweep-cache: true - name: Build with `rustdoc` - # We don't need to document dependencies since this is not intended to be consumed as a - # library. Furthermore, we pass `--lib` to prevent it from documenting binaries - # automatically. - run: cargo doc --package bevy_lint --no-deps --lib + # This alias calls `cargo rustdoc` with additional arguments, as specified by + # `.cargo/config.toml`. + run: cargo doc-lints - name: Finalize documentation run: |