# 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:  After: 
		
			
				
	
	
		
			27 lines
		
	
	
		
			565 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			565 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "bevy_asset_macros"
 | 
						|
version = "0.14.0-dev"
 | 
						|
edition = "2021"
 | 
						|
description = "Derive implementations for bevy_asset"
 | 
						|
homepage = "https://bevyengine.org"
 | 
						|
repository = "https://github.com/bevyengine/bevy"
 | 
						|
license = "MIT OR Apache-2.0"
 | 
						|
keywords = ["bevy"]
 | 
						|
 | 
						|
[lib]
 | 
						|
proc-macro = true
 | 
						|
 | 
						|
[dependencies]
 | 
						|
bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.14.0-dev" }
 | 
						|
 | 
						|
syn = "2.0"
 | 
						|
proc-macro2 = "1.0"
 | 
						|
quote = "1.0"
 | 
						|
 | 
						|
[lints]
 | 
						|
workspace = true
 | 
						|
 | 
						|
[package.metadata.docs.rs]
 | 
						|
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
 | 
						|
all-features = true
 |