Skip to content

Reorganize SystemParamBuilder docs and examples.#15102

Merged
alice-i-cecile merged 3 commits intobevyengine:mainfrom
chescock:SystemParamBuilder-docs
Sep 30, 2024
Merged

Reorganize SystemParamBuilder docs and examples.#15102
alice-i-cecile merged 3 commits intobevyengine:mainfrom
chescock:SystemParamBuilder-docs

Conversation

@chescock
Copy link
Copy Markdown
Contributor

@chescock chescock commented Sep 8, 2024

Objective

Improve the documentation of SystemParamBuilder. Not all builder types have documentation, and the documentation is spread around and not linked together well.

Solution

Reorganize SystemParamBuilder docs and examples. All builder types now have their own examples, and the list of builder types is linked from the SystemParamBuilder trait. Add some examples to FilteredEntityRef and FilteredEntityMut so that QueryParamBuilder can reference them.

@alice-i-cecile alice-i-cecile added this to the 0.15 milestone Sep 8, 2024
@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation A-ECS Entities, components, systems, and events S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Sep 8, 2024
Copy link
Copy Markdown
Member

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

Choose a reason for hiding this comment

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

Much better: thanks for all the doc tests, clarifications and cross-links.

@alice-i-cecile alice-i-cecile added the D-Straightforward Simple bug fixes and API improvements, docs, test and examples label Sep 8, 2024
Copy link
Copy Markdown
Member

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

Choose a reason for hiding this comment

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

Lovely thank you!

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Sep 25, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Sep 30, 2024
Merged via the queue into bevyengine:main with commit 86e5a5a Sep 30, 2024
robtfm pushed a commit to robtfm/bevy that referenced this pull request Oct 4, 2024
# Objective

Improve the documentation of `SystemParamBuilder`. Not all builder types
have documentation, and the documentation is spread around and not
linked together well.

## Solution

Reorganize `SystemParamBuilder` docs and examples. All builder types now
have their own examples, and the list of builder types is linked from
the `SystemParamBuilder` trait. Add some examples to `FilteredEntityRef`
and `FilteredEntityMut` so that `QueryParamBuilder` can reference them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Docs An addition or correction to our documentation D-Straightforward Simple bug fixes and API improvements, docs, test and examples 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