Skip to content

Commit

Permalink
Fix doc build.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Nov 9, 2024
1 parent 5fadd3c commit 738a1c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- name: clippy
run: cargo clippy --tests --examples
- name: doc
env:
RUSTDOCFLAGS: --cfg docsrs
run: cargo doc
- name: fmt
run: cargo fmt --check
Expand Down Expand Up @@ -57,7 +59,9 @@ jobs:
- name: clippy
run: cargo clippy --tests --examples --all-features --features bevy/wayland
- name: doc
run: cargo doc --all-features --features bevy/wayland
env:
RUSTDOCFLAGS: --cfg docsrs
run: cargo doc --all-features
- name: fmt
run: cargo fmt --check
all-features-nightly:
Expand Down Expand Up @@ -86,6 +90,6 @@ jobs:
- name: doc
env:
RUSTDOCFLAGS: --cfg docsrs
run: cargo doc --all-features --features bevy/wayland
run: cargo doc --all-features
- name: fmt
run: cargo fmt --check
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include = [
]

[package.metadata.docs.rs]
features = ["serialize"]
features = ["serialize", "bevy/wayland"]
rustdoc-args = ["--cfg", "docsrs"]

[features]
Expand Down

0 comments on commit 738a1c0

Please sign in to comment.