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

Hide SubApps from the documentation #16953

Conversation

LikeLakers2
Copy link
Contributor

Objective

SubApps is visible within the documentation for bevy_app. However, no way of accessing the SubApps field in App is currently available.

Solution

Hides SubApps from the documentation.

The other solution is to expose access to SubApps in Apps, which I submitted as a PR at #16952.

Testing

Because of the simplicity of the changes, I only tested by compiling bevy_app - which compiled successfully.

@alice-i-cecile
Copy link
Member

Closing in favor of #16952.

@LikeLakers2 LikeLakers2 deleted the fix/bevy_app/hide_subapps_collection branch December 24, 2024 02:58
github-merge-queue bot pushed a commit that referenced this pull request Dec 24, 2024
# Objective
`SubApps` is visible within the documentation for `bevy_app`. However,
no way of accessing the `SubApps` field in `App` is currently available.

## Solution
Expose two new functions, `App::sub_apps()` and `App::sub_apps_mut()`,
which give immutable and mutable access to `SubApps` respectively.

The other solution is to hide `SubApps`, which I submitted as a PR at
<#16953>.

## Testing
Because of the simplicity of the changes, I only tested by compiling
`bevy_app` - which compiled successfully.

Note: `SubApps`, and its corresponding field on `App`, are not used
outside of `bevy_app` - which means that compiling the other crates is
not necessary.
pcwalton pushed a commit to pcwalton/bevy that referenced this pull request Dec 25, 2024
# Objective
`SubApps` is visible within the documentation for `bevy_app`. However,
no way of accessing the `SubApps` field in `App` is currently available.

## Solution
Expose two new functions, `App::sub_apps()` and `App::sub_apps_mut()`,
which give immutable and mutable access to `SubApps` respectively.

The other solution is to hide `SubApps`, which I submitted as a PR at
<bevyengine#16953>.

## Testing
Because of the simplicity of the changes, I only tested by compiling
`bevy_app` - which compiled successfully.

Note: `SubApps`, and its corresponding field on `App`, are not used
outside of `bevy_app` - which means that compiling the other crates is
not necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants