Skip to content

Preserve static page route casing - #109

Merged
MohamedH1998 merged 1 commit into
cloudflare:mainfrom
sansynx:fix/static-route-case
Sep 7, 2026
Merged

Preserve static page route casing#109
MohamedH1998 merged 1 commit into
cloudflare:mainfrom
sansynx:fix/static-route-case

Conversation

@sansynx

@sansynx sansynx commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Nimbus was lowercasing static page names during duplicate-route checks, even though Astro keeps their casing. src/pages/Guide.astro was therefore checked as /guide while Astro serves /Guide.

This preserves the static segments as written, updates the regression test, and adds the patch changeset.

Closes #100

Checks

  • node --import tsx --test test/lint/site-model.test.ts
  • pnpm --filter nimbus-docs typecheck
  • pnpm --filter nimbus-docs build

Copilot AI lite review requested due to automatic review settings September 4, 2026 04:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@MohamedH1998
MohamedH1998 merged commit e776f02 into cloudflare:main Sep 7, 2026
20 checks passed
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.

duplicate-slug lowercases static page routes even though Astro preserves case

3 participants