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

Correct anchor link in Error messages #5717

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

MikeMcC399
Copy link
Contributor

Issues

The target bookmark for the following anchor link was flagged as an anchor link error by Docusaurus, although in practice the link works:

Changes

In References > Error Messages the following link is changed:

Current Corrected
/guides/guides/command-line/#auto-cancel-after-runs /guides/guides/command-line#auto-cancel-after-runs

The / before the HTML fragment is removed.

Verification

npm run build

Ensure that Docusaurus no longer reports #auto-cancel-after-runs as an anchor link error.

Copy link

netlify bot commented Feb 25, 2024

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ba4f034

Copy link

netlify bot commented Feb 25, 2024

Deploy Preview for benevolent-cat-040f48 ready!

Name Link
🔨 Latest commit ba4f034
🔍 Latest deploy log https://app.netlify.com/sites/benevolent-cat-040f48/deploys/65db4f8a84952e0007565515
😎 Deploy Preview https://deploy-preview-5717--benevolent-cat-040f48.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 site configuration.

@cypress-app-bot
Copy link
Collaborator

@MikeMcC399
Copy link
Contributor Author

@MikeMcC399
Copy link
Contributor Author

npm run build

https://app.circleci.com/pipelines/github/cypress-io/cypress-documentation/24774/workflows/a212e058-bec7-4f92-92e1-569306b5bac7/jobs/62325 no longer flags #auto-cancel-after-runs

[INFO] Docusaurus found broken anchors!

Please check the pages of your site in the list below, and make sure you don't reference any anchor that does not exist.
Note: it's possible to ignore broken anchors with the 'onBrokenAnchors' Docusaurus configuration, and let the build pass.

Exhaustive list of all broken anchors found:
- Broken anchor on source page path = /api/cypress-api/custom-commands:
   -> linking to /plugins#custom-commands
- Broken anchor on source page path = /api/cypress-api/custom-queries:
   -> linking to /plugins#custom-commands
- Broken anchor on source page path = /api/cypress-api/env:
   -> linking to /guides/guides/environment-variables#Option-5-Plugins
- Broken anchor on source page path = /api/table-of-contents:
   -> linking to /plugins#custom-commands
- Broken anchor on source page path = /examples/recipes:
   -> linking to /plugins#authentication
- Broken anchor on source page path = /faq/questions/using-cypress-faq:
   -> linking to /plugins#email
   -> linking to /plugins#preprocessors
- Broken anchor on source page path = /guides/core-concepts/writing-and-organizing-tests:
   -> linking to /plugins#preprocessors
- Broken anchor on source page path = /guides/overview/why-cypress:
   -> linking to /plugins#visual-testing
- Broken anchor on source page path = /guides/references/best-practices:
   -> linking to /plugins#email
- Broken anchor on source page path = /guides/references/changelog:
   -> linking to /guides/continuous-integration/introduction#Running-headless-tests-without-Xvfb
   -> linking to /guides/references/configuration#Folders-Files
   -> linking to /guides/references/configuration#Node-version
   -> linking to #01711-11162016 (resolved as: /guides/references/changelog#01711-11162016)
   -> linking to /api/cypress-api/cookies#Defaults
   -> linking to /guides/references/configuration#Animations
- Broken anchor on source page path = /guides/tooling/visual-testing:
   -> linking to /plugins#visual-testing

@MikeMcC399 MikeMcC399 marked this pull request as ready for review February 25, 2024 14:38
@jennifer-shehane jennifer-shehane merged commit e840e80 into cypress-io:main Feb 26, 2024
9 checks passed
@MikeMcC399 MikeMcC399 deleted the links/error-messages branch February 26, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants