Reference
Ce contenu n’est pas encore disponible dans votre langue.
Everything on these pages is generated at build time from the source of truth in the repo. If something looks wrong, the fix is in the code or the spec, not here.
Sources
Section titled “Sources”| Page | Generated from |
|---|---|
| API reference | app/api/openapi.yaml — oapi-codegen types + starlight-openapi rendering |
| Database schema | app/schema.sql — parsed by generate-schema-docs.mjs |
| Install config table on Install guide | docs/install/config/aa.env.example — parsed by sync-install-config.mjs |
| Roadmap | docs/roadmap.md — synced by sync-roadmap.mjs |
| Architecture Decisions (sidebar) | docs/adr/*.md — copied by sync-adrs.mjs |
Regenerating
Section titled “Regenerating”Reference pages regenerate on every site build. To preview locally, from the repo root:
pnpm installpnpm devpnpm dev runs the same sync scripts first (via predev), so a
local preview always has fresh reference pages.
The prebuild and predev steps in package.json run these in order:
scripts/sync-adrs.mjs— copiesdocs/adr/*.mdinto the docs collection with frontmatter inferred from each file’s h1.scripts/sync-openapi.mjs— copiesapp/api/openapi.yamltopublic/openapi.yamlso thestarlight-openapiplugin can read it.scripts/generate-schema-docs.mjs— parsesapp/schema.sqland emits thedevelopers/database/pages: one landing page plus one page per table.scripts/sync-install-config.mjs— parsesdocs/install/config/aa.env.exampleinto a Starlight partial that the install guide imports.scripts/sync-roadmap.mjs— copiesdocs/roadmap.mdinto the site as a top-level page.scripts/sync-screenshots.mjs— copies product screenshots fromdocs/screenshots/*.pngintosrc/assets/so Astro can optimize them.
Adding a new auto-sync is one more node scripts/whatever.mjs &&
in the chain.