Skip to content

docs: fix broken internal anchors across documentation - #5288

Merged
Simek merged 1 commit into
react:mainfrom
supunyasanthaofficial:fix/broken-internal-doc-anchors
Oct 19, 2026
Merged

Simek merged 1 commit into
react:mainfrom
supunyasanthaofficial:fix/broken-internal-doc-anchors

Conversation

@supunyasanthaofficial

Copy link
Copy Markdown
Contributor

Motivation

While running the documentation build locally, I noticed several broken internal links reported by Docusaurus. This PR fixes those links so they point to the correct sections.

Changes

  • Fixed the AlertButton anchor casing in alert.md.
  • Updated the interpolate() link in animations.md to point to AnimatedValue.
  • Corrected the iOS switch prop anchor to match the generated heading ID.
  • Fixed the transform props link in image.md to point to the correct transform section.
  • Removed outdated #content anchors left over from Docusaurus v1.
  • Updated the SectionList renderItem anchor to match the generated heading ID.
  • Fixed the Codegen Typings link in fabric-native-components.md.
  • Updated the Fast Refresh link to point to the current Dev Menu section.
  • Corrected the Hermes and build variants anchors to match their headings.
  • Backported the fixes to the versioned documentation for React Native 0.77 through 0.87.

Test Plan

  • Ran ESLint.
  • Ran prettier --check.
  • Ran the Docusaurus production build and confirmed that the 13 broken anchor warnings were resolved.

@meta-cla meta-cla Bot added the CLA Signed label Oct 19, 2026

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the broken links! 🙏

Tested the changes locally, LGTM! 👍

@Simek
Simek merged commit d96755d into react:main Oct 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants