How the pieces fit together — routing, data, auth, and the ecosystem packages underneath.
src/routes/, server functions for data loadingprisma/schema.prisma; sqlite by default, Postgres via DATABASE_URLsrc/server/auth/)src/server/api/routers/@olwiba/* packages — UI primitives (cn), blocks (ui, ui-pro), docs shell (docs)(public) — marketing pages, blog, docs, changelog_protected / (app) — authenticated app surfaceapi — auth handler and server endpointsTwo independent docs trees ship with the template:
| Surface | Route | Content | DocsLayout variant |
|---|---|---|---|
| Product docs | /docs | content/docs/ | product |
| Technical docs | /technical | content/technical/ | technical |
Each is gated by its own flag (VITE_ENABLE_DOCS_PAGE, VITE_ENABLE_TECHNICAL_DOCS_PAGE). See FLAG_MATRIX.md for the full flag inventory.
On This Page