Skip to content

Commit

Permalink
Fix dead custom constraints link in docs (#280)
Browse files Browse the repository at this point in the history
# Objective

The "creating your own constraints" link in the [constraints module's docs](https://docs.rs/bevy_xpbd_3d/0.3.2/bevy_xpbd_3d/constraints/index.html) currently links to [constraints/custom-constraints](https://docs.rs/bevy_xpbd_3d/0.3.2/bevy_xpbd_3d/constraints/custom-constraints) instead of [constraints#custom-constraints](https://docs.rs/bevy_xpbd_3d/0.3.2/bevy_xpbd_3d/constraints/index.html#custom-constraints).

## Solution

Add a # to the link to make it link to the right page and section of the doc.
  • Loading branch information
PerryPeak authored Dec 19, 2023
1 parent 58d3f97 commit db22413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constraints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//! - [`PrismaticJoint`]
//!
//! More constraint types will be added in future releases. If you need more constraints now, consider
//! [creating your own constraints](custom-constraints).
//! [creating your own constraints](#custom-constraints).
//!
//! ## Custom constraints
//!
Expand Down

0 comments on commit db22413

Please sign in to comment.