Skip to content

fix(docs): update InvalidRedirectDestination error message#16840

Merged
ArmandPhilippot merged 1 commit into
mainfrom
ArmandPhilippot-patch-1
May 22, 2026
Merged

fix(docs): update InvalidRedirectDestination error message#16840
ArmandPhilippot merged 1 commit into
mainfrom
ArmandPhilippot-patch-1

Conversation

@ArmandPhilippot

Copy link
Copy Markdown
Member

Changes

Updates errors-data.ts to fix a message not being correctly rendered in docs because of the conditional branches.

The message changed in #16831 but because we don't have @message in the JSDoc, this is not correctly rendered in docs (withastro/docs#13924). See: https://deploy-preview-13924--astro-docs-2.netlify.app/en/reference/errors/invalid-redirect-destination/

Testing

N/A

Docs

This is docs.
I didn't add a changeset because #16831 is not yet released, and so I don't think this is necessary.

@changeset-bot

changeset-bot Bot commented May 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e65c151

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added pkg: astro Related to the core `astro` package (scope) docs pr labels May 22, 2026
@codspeed-hq

codspeed-hq Bot commented May 22, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 18 untouched benchmarks


Comparing ArmandPhilippot-patch-1 (e65c151) with main (b7d1758)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (e542226) during the generation of this report, so b7d1758 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@yanthomasdev yanthomasdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@ArmandPhilippot ArmandPhilippot merged commit b22af11 into main May 22, 2026
29 checks passed
@ArmandPhilippot ArmandPhilippot deleted the ArmandPhilippot-patch-1 branch May 22, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs pr pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants