colibri/astro/wiki/package.json
Sam & Claude f704abc782 feat(wiki): minimal Astro site for wiki.clawdie.si
Plain Astro — no Starlight. Five files:
  - package.json (astro only, v0.12.0)
  - astro.config.mjs (wiki.clawdie.si, static output)
  - src/pages/index.astro (flat list of all decision pages)
  - src/pages/[...slug].astro (dynamic route: reads docs/wiki/*.md)
  - build-wiki.sh (npm ci + astro build)

Design decisions:
  - No Starlight — 23 pages, rarely changing, primary audience is LLMs
  - Dynamic routes — add a .md to docs/wiki/, it automatically gets a page
  - Markdown rendered at build time (frontmatter, tables, code blocks, links)
  - Wiki links [label](./page.md) auto-resolve to [/page/]
  - Dark mode via prefers-color-scheme, no JS

Guide keeps Starlight (structured sidebar, human operators).
Wiki gets plain Astro (flat list, agent audience).

See: docs/PLAN-WIKI-CLAWDIE-SI.md
2026-06-26 14:15:47 +02:00

14 lines
273 B
JSON

{
"name": "clawdie-wiki",
"private": true,
"version": "0.12.0",
"type": "module",
"scripts": {
"dev": "astro dev --host 0.0.0.0",
"build": "astro build",
"preview": "astro preview --host 0.0.0.0"
},
"dependencies": {
"astro": "^5.16.11"
}
}