getStaticPaths() — astro Function Reference
Architecture documentation for the getStaticPaths() function in [...slug].json.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD acc602dd_fe1d_8322_1da6_fe66f228d797["getStaticPaths()"] 1ccfc564_4697_b268_7181_cb2e9e854bbd["[...slug].json.ts"] acc602dd_fe1d_8322_1da6_fe66f228d797 -->|defined in| 1ccfc564_4697_b268_7181_cb2e9e854bbd style acc602dd_fe1d_8322_1da6_fe66f228d797 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/cloudflare/test/fixtures/routing-priority/src/pages/api/catch/[...slug].json.ts lines 11–13
export function getStaticPaths() {
return [{ params: { slug: 'a' } }, { params: { slug: 'b/c' } }];
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getStaticPaths() do?
getStaticPaths() is a function in the astro codebase, defined in packages/integrations/cloudflare/test/fixtures/routing-priority/src/pages/api/catch/[...slug].json.ts.
Where is getStaticPaths() defined?
getStaticPaths() is defined in packages/integrations/cloudflare/test/fixtures/routing-priority/src/pages/api/catch/[...slug].json.ts at line 11.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free