bevy/crates
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
..
bevy_a11y Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_animation Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_app Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_asset Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_audio Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_color Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_core Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_core_pipeline Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_derive Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dev_tools Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_diagnostic Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dylib Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dynamic_plugin Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ecs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ecs_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_encase_derive Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gilrs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gizmos Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gltf Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_hierarchy Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_input Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_internal Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_log Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_macro_utils Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_macros_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_math Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_mikktspace Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_panic_handler Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_pbr Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ptr Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_reflect Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_reflect_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_render Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_scene Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_sprite Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_tasks Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_text Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_time Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_transform Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ui Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_utils Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_window Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_winit Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00