Fix links to Transform in Transform and GlobalTransform docs (#13704)

# Objective

All the links that should go to the `Transform` type in the `Transform`
and `GlobalTransform` docs currently go to the `transform` example
instead.

## Solution

Fix collision of link labels in `Transform` and `GlobalTransform` docs.
This commit is contained in:
Rob Parrett 2024-06-06 13:06:54 -07:00 committed by GitHub
parent 3122c87702
commit cca0f79022
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -32,9 +32,9 @@ use bevy_reflect::{std_traits::ReflectDefault, Reflect};
///
/// # Examples
///
/// - [`transform`]
/// - [`transform`][transform_example]
///
/// [`transform`]: https://github.com/bevyengine/bevy/blob/latest/examples/transforms/transform.rs
/// [transform_example]: https://github.com/bevyengine/bevy/blob/latest/examples/transforms/transform.rs
#[derive(Debug, PartialEq, Clone, Copy)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(

View file

@ -30,9 +30,9 @@ use std::ops::Mul;
///
/// # Examples
///
/// - [`transform`]
/// - [`transform`][transform_example]
///
/// [`transform`]: https://github.com/bevyengine/bevy/blob/latest/examples/transforms/transform.rs
/// [transform_example]: https://github.com/bevyengine/bevy/blob/latest/examples/transforms/transform.rs
#[derive(Debug, PartialEq, Clone, Copy)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(