Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Single doc links #16493

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Fix Single doc links #16493

merged 1 commit into from
Nov 24, 2024

Conversation

Jondolf
Copy link
Contributor

@Jondolf Jondolf commented Nov 24, 2024

Objective

In the Similar parameters section of Query, the doc link for Single actually links to Query::single, and Option<Single> just links to Option. They should both link to Single!

The first link is broken because there is a reference-style link defined for single, but not for Single, and rustdoc treats the link as case-insensitive for some reason.

Solution

Fix the links!

Testing

I built the docs locally with cargo doc and tested the links.

@Jondolf Jondolf added C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy A-ECS Entities, components, systems, and events S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Nov 24, 2024
@alice-i-cecile alice-i-cecile added this to the 0.15 milestone Nov 24, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 24, 2024
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Nov 24, 2024
Merged via the queue into bevyengine:main with commit da68bfe Nov 24, 2024
34 checks passed
@Jondolf Jondolf deleted the fix-doc-link branch November 24, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants