Skip to content

Commit 4b62d47

Browse files
kpreidmockersf
authored andcommitted
Replace feature(doc_auto_cfg) with feature(doc_cfg). (#21304)
## Objective Fixes #21303 (but does not add any testing that similar issues will not recur). ## Solution Globally replace `feature(doc_auto_cfg)` with `feature(doc_cfg)`. ## Testing Tested that `RUSTDOCFLAGS=--cfg=docsrs cargo +nightly doc -p bevy_platform` succeeds. This is not a test of all documentation builds, but I do not know of a way to do that until bevy’s dependencies catch up.
1 parent c822005 commit 4b62d47

File tree

44 files changed

+44
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+44
-44
lines changed

crates/bevy_a11y/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![forbid(unsafe_code)]
2-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc(
44
html_logo_url = "https://bevy.org/assets/icon.png",
55
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_animation/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22

33
//! Macros for deriving animation behaviors.
44

crates/bevy_animation/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22
#![warn(unsafe_code)]
33
#![doc(
44
html_logo_url = "https://bevy.org/assets/icon.png",

crates/bevy_anti_alias/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![expect(missing_docs, reason = "Not all docs are written yet, see #3492.")]
2-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc(
44
html_logo_url = "https://bevy.org/assets/icon.png",
55
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_asset/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22

33
//! Macros for deriving asset traits.
44

crates/bevy_asset/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
//! This trait mirrors [`AssetLoader`] in structure, and works in tandem with [`AssetWriter`](io::AssetWriter), which mirrors [`AssetReader`](io::AssetReader).
140140
141141
#![expect(missing_docs, reason = "Not all docs are written yet, see #3492.")]
142-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
142+
#![cfg_attr(docsrs, feature(doc_cfg))]
143143
#![doc(
144144
html_logo_url = "https://bevy.org/assets/icon.png",
145145
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_audio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![forbid(unsafe_code)]
2-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc(
44
html_logo_url = "https://bevy.org/assets/icon.png",
55
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_color/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22
#![forbid(unsafe_code)]
33
#![doc(
44
html_logo_url = "https://bevy.org/assets/icon.png",

crates/bevy_core_pipeline/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![expect(missing_docs, reason = "Not all docs are written yet, see #3492.")]
22
#![forbid(unsafe_code)]
3-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3+
#![cfg_attr(docsrs, feature(doc_cfg))]
44
#![doc(
55
html_logo_url = "https://bevy.org/assets/icon.png",
66
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Assorted proc macro derive functions.
22
33
#![forbid(unsafe_code)]
4-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4+
#![cfg_attr(docsrs, feature(doc_cfg))]
55
#![doc(
66
html_logo_url = "https://bevy.org/assets/icon.png",
77
html_favicon_url = "https://bevy.org/assets/icon.png"

0 commit comments

Comments
 (0)