Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cargo doc-lints when building Github Pages #173

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
Loading