bevy/crates/bevy_reflect/bevy_reflect_derive/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
..
impls bevy_reflect: Recursive registration (#5781) 2024-03-04 19:04:10 +00:00
container_attributes.rs bevy_reflect_derive: Clean up attribute logic (#11777) 2024-02-12 15:16:27 +00:00
derive_data.rs bevy_reflect: Recursive registration (#5781) 2024-03-04 19:04:10 +00:00
documentation.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
enum_utility.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
field_attributes.rs bevy_reflect_derive: Clean up attribute logic (#11777) 2024-02-12 15:16:27 +00:00
from_reflect.rs bevy_reflect_derive: Clean up attribute logic (#11777) 2024-02-12 15:16:27 +00:00
lib.rs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
reflect_value.rs bevy_reflect_derive: Clean up attribute logic (#11777) 2024-02-12 15:16:27 +00:00
registration.rs bevy_reflect: Recursive registration (#5781) 2024-03-04 19:04:10 +00:00
serialization.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
trait_reflection.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
type_path.rs Fix typo in NamedTypePathDef (#9102) 2023-07-10 17:02:16 +00:00
utility.rs bevy_reflect: Recursive registration (#5781) 2024-03-04 19:04:10 +00:00