I found inconsistent route handling for the root docs entry
getDocsStaticPaths currently passes entry.id directly as the catch-all slug. For src/content/docs/index.mdx, that yields slug: index, and Astro builds the page at /index
Elsewhere Nimbus treats the same entry as the site root. entryRouteUrl("", "index") returns /, and the indexed entry, sidebar, and markdown helpers use that canonical URL
The current apps/www catch-all route works around this by translating slug: index to undefined, but packages/nimbus-starter-source/src/pages/[...slug].astro assigns getDocsStaticPaths directly and does not include that normalization
Could Nimbus choose one root-index contract and apply it consistently, preferably by normalizing the root entry in getDocsStaticPaths or by updating all helpers and templates to use /index? A small regression test for the starter template would make the expected route clear
Relevant code:
I found inconsistent route handling for the root docs entry
getDocsStaticPaths currently passes entry.id directly as the catch-all slug. For src/content/docs/index.mdx, that yields slug: index, and Astro builds the page at /index
Elsewhere Nimbus treats the same entry as the site root. entryRouteUrl("", "index") returns /, and the indexed entry, sidebar, and markdown helpers use that canonical URL
The current apps/www catch-all route works around this by translating slug: index to undefined, but packages/nimbus-starter-source/src/pages/[...slug].astro assigns getDocsStaticPaths directly and does not include that normalization
Could Nimbus choose one root-index contract and apply it consistently, preferably by normalizing the root entry in getDocsStaticPaths or by updating all helpers and templates to use /index? A small regression test for the starter template would make the expected route clear
Relevant code: