bevy/crates/bevy_ecs/src/schedule
kivi 3f425da66e
Improve schedule note of .after/.before & encourage to use .chain ins… (#14986)
# Objective

- Fixes #14552 
- Make the current note of `before` and `after` understandable. 
- > The given set is not implicitly added to the schedule when this
system set is added.

## Solution

- Replace note in docs of [`after` and
`before`](https://docs.rs/bevy/latest/bevy/ecs/prelude/trait.IntoSystemConfigs.html#method.before)
- Note of after was removed completely, and links to `before`, because
they notes would be identical.
- Also encourage to use `.chain`, which is much simpler and safer to use

## Testing

- Checked the docs after running `cargo doc` and `cargo run -p ci --
lints`
- Are there any parts that need more testing?
- no need to test, but please review the text. If it is still including
the intended message and especially if its understandable.

---------

Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-09-14 21:03:21 +00:00
..
executor Fix common capitalization errors in documentation (#14562) 2024-07-31 21:16:05 +00:00
condition.rs Add condition_changed and condition_became_true to common_conditions (#14917) 2024-08-26 18:32:44 +00:00
config.rs Improve schedule note of .after/.before & encourage to use .chain ins… (#14986) 2024-09-14 21:03:21 +00:00
graph_utils.rs Use a unstable sort to sort component ids in bevy_ecs (#13789) 2024-06-17 14:56:19 +00:00
mod.rs Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
schedule.rs Fix soudness issue with Conflicts involving read_all and write_all (#14579) 2024-08-06 10:55:31 +00:00
set.rs Add on_unimplemented Diagnostics to Most Public Traits (#13347) (#13662) 2024-06-04 00:31:34 +00:00
stepping.rs Fix beta lints (#12980) 2024-04-16 02:46:46 +00:00