Guide · 6 min read
Routing and rendering
Use file-based routes with SSR and static export.
Pages live in pages/. API handlers live in pages/api/. Dynamic documentation pages use pages/docs/[slug].ts and remain compatible with Ryvax static export when getStaticPaths is provided.
Last updated Sep 9, 2026Edit on GitHub ↗