feat: add validate-docs-redirects script - #1127
Merged
David Traum (davidtraum) merged 11 commits intoAug 5, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
David Traum (davidtraum)
changed the base branch from
main
to
docs-changes-mar12
April 16, 2026 07:59
David Traum (davidtraum)
changed the base branch from
docs-changes-mar12
to
main
April 16, 2026 07:59
Merged
Contributor
|
David Traum (@davidtraum) Is this still needed? |
Contributor
Author
Yes, it’s still relevant. I need to make a few adjustments before it’s ready. Fabian Hüske (@fabianhueske) |
David Traum (davidtraum)
marked this pull request as ready for review
August 5, 2026 07:11
David Traum (davidtraum)
requested review from
Gerrit Weiermann (gweiermann) and
Jannis Leifeld (jleifeld)
August 5, 2026 07:12
Gerrit Weiermann (gweiermann)
approved these changes
Aug 5, 2026
Gerrit Weiermann (gweiermann)
left a comment
Contributor
There was a problem hiding this comment.
really nice :D
@shopware-ag/meteor-admin-sdk
@shopware-ag/meteor-component-library
@shopware-ag/create-meteor-extension
@shopware-ag/meteor-icon-kit
@shopware-ag/meteor-prettier-config
@shopware-ag/stylelint-plugin-meteor
@shopware-ag/meteor-tokens
commit: |
Jannis Leifeld (jleifeld)
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
This PR adds a script to validate the redirects for the pages of the Meteor admin SDK documentation which are listed inside
docs.yml.If the redirect target is invalid by accident because the file has been moved or the path is wrong the script will fail inside the static-analysis pipeline.
Why?
Without validation it is easy to miss adding a redirect for a moved page.
How?
The script can be called using
pnpm run validate:docs-redirectsand is also included in the static-analysis checks.The script does two things:
Other small changes in this PR:
Testing?
pnpm run validate:docs-redirectswith the current validdocs.ymlfile. No error occurs.