Skip to content

Peacock CMS Documentation — VitePress

The Peacock docs site, built with VitePress.

Status

Scaffolded — config + structure + a handful of seeded pages (Quickstart, What-is-Peacock, Astro integration). The rest is placeholder links that flesh out as each phase ships.

Develop

bash
# from repo root:
pnpm --filter @peacock/docs install
pnpm --filter @peacock/docs dev
# → http://localhost:5173 (VitePress default)

Structure

docs/site/
├── .vitepress/
│   └── config.ts          # Nav, sidebar, theme — defaults to de-AT locale
├── public/
│   └── favicon.svg
├── guide/
│   ├── what-is-peacock.md
│   ├── quickstart.md
│   ├── self-host.md       # placeholder
│   ├── concepts.md        # placeholder
│   ├── visual-editor.md   # placeholder
│   ├── ai-copilot.md      # placeholder
│   ├── mcp.md             # placeholder
│   └── i18n.md            # placeholder
├── integrations/
│   ├── index.md
│   ├── astro.md
│   ├── next.md            # placeholder
│   ├── nuxt.md            # placeholder
│   ├── laravel.md         # placeholder
│   └── wordpress.md       # placeholder
├── api/
│   ├── index.md           # placeholder
│   └── …
├── index.md               # Home with hero + features grid
└── package.json

Localization

Default is de-AT. English mirror lands in Phase 8 — docs/site/en/.

Build & deploy

bash
pnpm --filter @peacock/docs build
# → docs/site/.vitepress/dist/

Deploy target: Cloudflare Pages, subdomain peacock.dev/docs/. The marketing site (apps/marketing) lives at the root; docs at /docs/ via path rewrite.

Zuletzt aktualisiert: