bevy/crates/bevy_macro_utils/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
..
attrs.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
bevy_manifest.rs fix deprecations from toml_edit (#12421) 2024-03-11 17:53:38 +00:00
fq_std.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
label.rs Remove unnecessary parens (#11075) 2023-12-24 17:43:01 +00:00
lib.rs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
shape.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
symbol.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00