feat(docs-site): scaffold Astro Starlight site
Scaffold docs/site/ via `npm create astro@latest ... --template starlight`. Extend the docs collection schema in src/content.config.ts with the four custom frontmatter fields (man, site, manTitle, helpKeywords) needed by the generator in a later task, using z.strictObject so unrecognized keys fail the build instead of being silently stripped by Zod's default behavior. Ignore generated site output (node_modules, dist, .astro, generated content, and sidebar.json) in .gitignore.
This commit is contained in:
@@ -300,3 +300,10 @@ docs/devlogs
|
||||
# ────────────────────────────────────────────────────────
|
||||
/.cache_ggshield
|
||||
user-dots
|
||||
|
||||
# ──────────────────── Generated Docs Site ───────────────────
|
||||
docs/site/node_modules/
|
||||
docs/site/dist/
|
||||
docs/site/.astro/
|
||||
docs/site/src/content/docs/
|
||||
docs/site/src/sidebar.json
|
||||
|
||||
Reference in New Issue
Block a user