bevy/.github/workflows
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
..
action-on-PR-labeled.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci-comment-failures.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci.yml Bump crate-ci/typos from 1.18.2 to 1.19.0 (#12291) 2024-03-04 07:14:47 +00:00
daily.yml Bump actions/upload-artifact from 2 to 4 (#11014) 2023-12-24 00:34:02 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
post-release.yml Bump peter-evans/create-pull-request from 5 to 6 (#11712) 2024-02-09 06:01:31 +00:00
release.yml Bump peter-evans/create-pull-request from 5 to 6 (#11712) 2024-02-09 06:01:31 +00:00
validation-jobs.yml check that patches are not broken (#12457) 2024-03-17 19:03:55 +00:00
welcome.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00