Skip to content

fix: add stories routes to link validator#1780

Open
chip-peanut-bot[bot] wants to merge 1 commit intomainfrom
chip/validate-stories
Open

fix: add stories routes to link validator#1780
chip-peanut-bot[bot] wants to merge 1 commit intomainfrom
chip/validate-stories

Conversation

@chip-peanut-bot
Copy link
Contributor

The validate-links.ts script had no knowledge of /stories/ routes. Since peanut-content PR #16 added story pages with internal links to /{locale}/stories/{slug}, every content PR now fails CI.

Adds /{locale}/stories and /{locale}/stories/{slug} patterns, derived from content/stories/ directory structure, same pattern as other route types.

This is blocking peanut-content PR #17 (and any future content PRs) from passing CI.

The validate-links script had no knowledge of /stories/ routes.
Since peanut-content PR #16 added story pages with internal links
to /stories/{slug}, every content PR now fails CI.

Adds /{locale}/stories and /{locale}/stories/{slug} patterns,
derived from content/stories/ directory like other route types.
@vercel
Copy link

vercel bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
peanut-wallet Ready Ready Preview, Comment Mar 20, 2026 7:43pm

Request Review

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.

0 participants