bevy/crates/bevy_gizmos/src
Ame 72c51cdab9
Make feature(doc_auto_cfg) work (#12642)
# Objective

- In #12366 `![cfg_attr(docsrs, feature(doc_auto_cfg))] `was added. But
to apply it it needs `--cfg=docsrs` in rustdoc-args.


## Solution

- Apply `--cfg=docsrs` to all crates and CI.

I also added `[package.metadata.docs.rs]` to all crates to avoid adding
code behind a feature and forget adding the metadata.

Before:

![Screenshot 2024-03-22 at 00 51
57](https://github.com/bevyengine/bevy/assets/104745335/6a9dfdaa-8710-4784-852b-5f9b74e3522c)

After:
![Screenshot 2024-03-22 at 00 51
32](https://github.com/bevyengine/bevy/assets/104745335/c5bd6d8e-8ddb-45b3-b844-5ecf9f88961c)
2024-03-23 02:22:52 +00:00
..
primitives Add basic light gizmos (#12228) 2024-03-03 18:50:46 +00:00
aabb.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
arcs.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
arrows.rs Add coordinate axes gizmo (#12211) 2024-02-29 23:52:05 +00:00
circles.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
config.rs Gizmo line joints (#12252) 2024-03-11 19:21:32 +00:00
gizmos.rs Gizmos: Replace PositionItem with Vec3 (#12401) 2024-03-11 19:28:05 +00:00
grid.rs Gizmo 3d grids (#12430) 2024-03-13 18:51:53 +00:00
lib.rs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
light.rs Add basic light gizmos (#12228) 2024-03-03 18:50:46 +00:00
line_joints.wgsl Gizmo line joints (#12252) 2024-03-11 19:21:32 +00:00
lines.wgsl Fix float precision issue in the gizmo shader (#10408) 2023-11-14 22:36:02 +00:00
pipeline_2d.rs Gizmo line joints (#12252) 2024-03-11 19:21:32 +00:00
pipeline_3d.rs Gizmo line joints (#12252) 2024-03-11 19:21:32 +00:00