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

Improve Parent and Children API docs #10952

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nilirad
Copy link
Contributor

@Nilirad Nilirad commented Dec 12, 2023

This PR is based on #10951, therefore it will stay in a draft state until the other is resolved.

I added information about how to access parent and children entities, and about the component lifecycle.

I removed redundant information about holding invariants, which is automatically taken care by the crate's methods, and is already addressed by the base PR.

@Nilirad Nilirad added C-Docs An addition or correction to our documentation A-Hierarchy Parent-child entity hierarchies labels Dec 12, 2023
github-merge-queue bot pushed a commit that referenced this pull request Jan 2, 2024
This PR is part of a project aimed at improving the API documentation of
`bevy_hierarchy`. Other PRs will be based on this.

This PR in particular is also an experiment in providing a high level
overview of the tools provided by a Bevy plugin/crate. It also provides
general information about universal invariants, so statement repetition
in crate items can be dramatically reduced.

## Other changes

The other PRs of this project that expand on this one:

- #10952
- #10953
- #10954
- #10955
- #10956
- #10957

---------

Co-authored-by: GitGhillie <jillisnoordhoek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Hierarchy Parent-child entity hierarchies C-Docs An addition or correction to our documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant