Skip to content

Commit

Permalink
Fix features for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
idanarye committed Dec 1, 2024
1 parent d98d12a commit 6af0359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Run doc tests
run: cargo test --doc --all-features
- name: Check docs
run: cargo doc --no-deps --all-features
run: cargo doc --no-deps --all-features --features bevy/x11 --features bevy/bevy_asset
docs-and-demos-ghpages:
name: Update Docs and Demos in GitHub Pages
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ required-features = ["vpeol_2d", "bevy/png"]
[package.metadata.docs.rs]

all-features = true
features = [
"bevy/x11", # required for bevy_egui
"bevy/bevy_asset",
]

0 comments on commit 6af0359

Please sign in to comment.