 d7080369a7
			
		
	
	
		d7080369a7
		
			
		
	
	
	
	
		
			
			# Objective - Bevy currently has lot of invalid intra-doc links, let's fix them! - Also make CI test them, to avoid future regressions. - Helps with #1983 (but doesn't fix it, as there could still be explicit links to docs.rs that are broken) ## Solution - Make `cargo r -p ci -- doc-check` check fail on warnings (could also be changed to just some specific lints) - Manually fix all the warnings (note that in some cases it was unclear to me what the fix should have been, I'll try to highlight them in a self-review)
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![doc = include_str!("../README.md")]
 | |
| #![cfg_attr(docsrs, feature(doc_auto_cfg))]
 | |
| #![doc(
 | |
|     html_logo_url = "https://bevyengine.org/assets/icon.png",
 | |
|     html_favicon_url = "https://bevyengine.org/assets/icon.png"
 | |
| )]
 | |
| 
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub mod commands;
 | |
| /// The basic components of the transform crate
 | |
| pub mod components;
 | |
| 
 | |
| /// Transform related bundles
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub mod bundles;
 | |
| 
 | |
| /// Transform related traits
 | |
| pub mod traits;
 | |
| 
 | |
| /// Transform related plugins
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub mod plugins;
 | |
| 
 | |
| /// [`GlobalTransform`]: components::GlobalTransform
 | |
| /// Helpers related to computing global transforms
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub mod helper;
 | |
| /// Systems responsible for transform propagation
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub mod systems;
 | |
| 
 | |
| #[doc(hidden)]
 | |
| pub mod prelude {
 | |
|     #[doc(hidden)]
 | |
|     pub use crate::components::*;
 | |
| 
 | |
|     #[cfg(feature = "bevy-support")]
 | |
|     #[doc(hidden)]
 | |
|     pub use crate::{
 | |
|         bundles::TransformBundle, commands::BuildChildrenTransformExt, helper::TransformHelper,
 | |
|         plugins::TransformPlugin, plugins::TransformSystem, traits::TransformPoint,
 | |
|     };
 | |
| }
 | |
| 
 | |
| #[cfg(feature = "bevy-support")]
 | |
| pub use prelude::{TransformPlugin, TransformPoint, TransformSystem};
 |