mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
6ec6a55645
# Objective
- Crate-level prelude modules, such as `bevy_ecs::prelude`, are plagued
with inconsistency! Let's fix it!
## Solution
Format all preludes based on the following rules:
1. All preludes should have brief documentation in the format of:
> The _name_ prelude.
>
> This includes the most common types in this crate, re-exported for
your convenience.
2. All documentation should be outer, not inner. (`///` instead of
`//!`.)
3. No prelude modules should be annotated with `#[doc(hidden)]`. (Items
within them may, though I'm not sure why this was done.)
## Testing
- I manually searched for the term `mod prelude` and updated all
occurrences by hand. 🫠
---------
Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
|
||
---|---|---|
.. | ||
auto_exposure | ||
blit | ||
bloom | ||
contrast_adaptive_sharpening | ||
core_2d | ||
core_3d | ||
deferred | ||
dof | ||
fullscreen_vertex_shader | ||
fxaa | ||
motion_blur | ||
post_process | ||
prepass | ||
skybox | ||
smaa | ||
taa | ||
tonemapping | ||
upscaling | ||
lib.rs | ||
msaa_writeback.rs |