getStaticPaths() — astro Function Reference
Architecture documentation for the getStaticPaths() function in manifest.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 3ecf0568_a607_cc80_6fed_6dade8c05a39["getStaticPaths()"] dadfd0bc_fbd3_a2ef_da92_7300901c4cb0["manifest.ts"] 3ecf0568_a607_cc80_6fed_6dade8c05a39 -->|defined in| dadfd0bc_fbd3_a2ef_da92_7300901c4cb0 style 3ecf0568_a607_cc80_6fed_6dade8c05a39 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/sitemap/test/fixtures/static/src/pages/[lang]/manifest.ts lines 7–15
export async function getStaticPaths() {
return ['it', 'en'].map((language) => {
return {
params: {
lang: language,
},
};
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getStaticPaths() do?
getStaticPaths() is a function in the astro codebase, defined in packages/integrations/sitemap/test/fixtures/static/src/pages/[lang]/manifest.ts.
Where is getStaticPaths() defined?
getStaticPaths() is defined in packages/integrations/sitemap/test/fixtures/static/src/pages/[lang]/manifest.ts at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free