Deep Wiki: Build VitePress Site
Package the generated wiki markdown files into a complete VitePress site with a Daytona-inspired dark theme, dark-mode Mermaid diagrams, and click-to-zoom for diagrams and images.
Prerequisites
The wiki markdown files should already exist (from /deep-wiki:generate or manual creation). This command scaffolds the VitePress project around them.
Step 1: Scaffold VitePress Project
Create a wiki/ directory with this structure:
wiki/
├── package.json
├── .gitignore
├── AGENTS.md # Agent instructions for wiki folder
├── CLAUDE.md # Companion pointer to AGENTS.md
├── index.md # Wiki home page (NOT a placeholder — see below)
├── llms.txt # LLM-friendly links + descriptions
├── llms-full.txt # LLM-friendly full inlined content
├── onboarding/ # Audience-tailored onboarding guides
│ ├── index.md # Onboarding hub with guide selector
│ ├── contributor-guide.md # For new contributors (assumes Python/JS)
│ ├── staff-engineer-guide.md # For staff/principal engineers
│ ├── executive-guide.md # For VP/director-level leaders
│ └── product-manager-guide.md # For product managers
├── {NN}-{section-name}/ # Numbered section folders
│ ├── {page-name}.md
│ └── ...
├── .vitepress/
│ ├── config.mts # Full VitePress config
│ ├── public/
│ │ ├── logo.svg # Brand logo
│ │ ├── llms.txt # Served at /llms.txt on deployed site
│ │ └── llms-full.txt # Served at /llms-full.txt on deployed site
│ └── theme/
│ ├── index.ts # Theme setup (zoom handlers)
│ └── custom.css # Complete dark theme + Mermaid + zoom CSSindex.md — Wiki Landing Page (CRITICAL)
The index.md MUST be a developer-focused wiki home page — NOT a marketing landing page. No hero: frontmatter blocks, no taglines, no call-to-action buttons. This is a technical wiki, not a product page.
Generate index.md with this structure:
markdown
---
title: Project Name — Documentation
description: Technical documentation for Project Name
---
# Project Name
Brief 1–2 sentence description of what the project does technically.
## Quick Start
\`\`\`bash
# Clone, install, run (actual commands from the repo)