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

Switch monolithic lib to module re-exports #13059

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

NthTensor
Copy link
Contributor

Objective

Makes crate module docs render correctly in the docs for the monolithic library. Fixes #13055.

Solution

Swap from

pub mod foo {
    pub use bevy_foo::*;
}

to

pub use bevy_foo as foo;

@NthTensor NthTensor added C-Docs An addition or correction to our documentation A-Cross-Cutting Impacts the entire engine labels Apr 22, 2024
@alice-i-cecile alice-i-cecile added this to the 0.14 milestone Apr 22, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Apr 22, 2024
@james7132 james7132 added this pull request to the merge queue Apr 22, 2024
Merged via the queue into bevyengine:main with commit 6b95b01 Apr 22, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Cross-Cutting Impacts the entire engine C-Docs An addition or correction to our documentation S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module docs don't appear in monolithic docs.rs page
4 participants