cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

Docusaurus reports false positive anchor link errors for Plugins page

Open MikeMcC399 opened this issue 1 year ago • 0 comments

Subject

Plugins

Description

  • Following on from the resolved issue https://github.com/cypress-io/cypress-documentation/issues/5630, all broken anchor errors reported by Docusaurus npm run build have been fixed, with the exception of false positives related to bookmarks on the Plugins page https://docs.cypress.io/plugins.

For example

- Broken anchor on source page path = /api/cypress-api/custom-commands:
   -> linking to /plugins#custom-commands

This is however a false positive, as the link https://docs.cypress.io/plugins#custom-commands brings up the correct page and the correct section. The target HTML is valid:

<h2 id="custom-commands">Custom Commands</h2>

MikeMcC399 avatar Feb 26 '24 14:02 MikeMcC399