Skip to content

Doc - Link directly to DespawnOnEnter/Exit#21650

Merged
mockersf merged 3 commits into
bevyengine:mainfrom
isHavvy:patch-1
Oct 25, 2025
Merged

Doc - Link directly to DespawnOnEnter/Exit#21650
mockersf merged 3 commits into
bevyengine:mainfrom
isHavvy:patch-1

Conversation

@isHavvy

@isHavvy isHavvy commented Oct 25, 2025

Copy link
Copy Markdown
Contributor

Objective

  • Make DespawnOnExit more discoverable.
  • Fix broken link text - the parenthetical before it seems to mess it up.

Solution

  • Link directly to DespawnOnExit from the module documentation instead of just the containing module.

Testing

None. Somebody should build the docs to make sure the links actually work (I'm 99% sure they do) and that the \ added actually fixes the link on line 32 (I'm only 80% sure it does)

Further Questions

I'm wondering if this functionality should be listed in the bulleted list that precedes this paragraph.

@github-actions

Copy link
Copy Markdown
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@isHavvy

isHavvy commented Oct 25, 2025

Copy link
Copy Markdown
Contributor Author

cc @alice-i-cecile as requested on Discord

Comment thread crates/bevy_state/src/lib.rs Outdated

@alice-i-cecile alice-i-cecile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bulleted list above is about "the core way this crate works". State-scoped entities are just handy utils.

@alice-i-cecile alice-i-cecile added 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 A-States App-level states machines D-Trivial Nice and easy! A great choice to get started with Bevy labels Oct 25, 2025
@mockersf mockersf added this pull request to the merge queue Oct 25, 2025
Merged via the queue into bevyengine:main with commit 42d41e3 Oct 25, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-States App-level states machines C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy 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.

3 participants