Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wparad
Copy link

@wparad wparad commented Oct 30, 2025

Clarify broken link detection behavior and opt-out method.

Clarify broken link detection behavior and opt-out method.
@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Oct 30, 2025
@netlify
Copy link

netlify bot commented Oct 30, 2025

βœ… [V2]

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit 13ac115
πŸ” Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69034b748793890008ac4eb1
😎 Deploy Preview https://deploy-preview-11521--docusaurus-2.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


By default, it throws an error, to ensure you never ship any broken link.

Broken link detection only applies to relative links within a plugin, it does not work across plugins nor on pages specified in `/pages` or `static`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's not really accurate. It's unclear to me what it means to "not work across plugins", and it definitively works if you link to /my-page after creating a pages/my-page.md file


Broken link detection only applies to relative links within a plugin, it does not work across plugins nor on pages specified in `/pages` or `static`.

To opt out of a broken link, add the HTML attribute `data-noBrokenLinkCheck` to the element that contains the link:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is not an HTML attribute (although it's technically legal to pass any data attribute to HTML elements), it is a proprietary React component prop of the Docusaurus <Link> component

As explained here, we don't document it on purpose, and only share this secret API after having clearly understood why a user need it

#11520 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants