bevy/tools/example-showcase
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
..
src Beautify example showcase site URLs (#12348) 2024-03-17 21:39:54 +00:00
asset-source-website.patch examples showcase: use patches instead of sed for wasm hacks (#10601) 2023-11-17 22:21:12 +00:00
Cargo.toml Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
disable-audio.patch run examples on macOS to validate PRs (#11630) 2024-01-31 20:03:47 +00:00
extra-window-resized-events.patch example showcase: fix window resized patch (#11596) 2024-01-29 17:53:18 +00:00
fixed-window-position.patch hacks for running (and screenshotting) the examples in CI on a github runner (#9220) 2023-10-13 19:19:17 +00:00
reduce-light-cluster-config.patch change file location for showcase patch for light (#12456) 2024-03-15 23:32:48 +00:00
remove-desktop-app-mode.patch Fix CI desktop mode patch (#12440) 2024-03-15 23:32:20 +00:00
window-settings-wasm.patch Fix fit_canvas_to_parent (#11278) 2024-03-03 14:33:30 +00:00