Design Spec: MkDocs Documentation Hub
Date: 2026-04-19 Topic: MkDocs Setup for Amon-Claw Status: Approved
1. Objective
Establish a centralized, visually appealing documentation hub for the amon-claw project using MkDocs Material. The goal is to provide a "live" dashboard for features, specs, and architectural decisions, supporting both internal development and external project overview.
2. Technical Stack
- Engine: MkDocs
- Theme: MkDocs Material
- Dependency Manager:
uv - Extensions:
pymdown-extensions(Admonitions, SuperFences, Checklists, Details)mermaidsupport via SuperFences.
3. Navigation Structure (Lifecycle-Based)
The documentation will be organized according to the development lifecycle:
- 🚀 Product
- PRD:
docs/prd/ - Requirements:
docs/requirements/
- PRD:
- 📐 Architecture
- Domain Entities:
docs/domain/ - ADRs (Architectural Decision Records):
docs/adr/
- Domain Entities:
- 🛠️ Development
- Specs & Designs:
docs/superpowers/specs/ - Implementation Plans:
docs/superpowers/plans/ - Research:
docs/research/
- Specs & Designs:
- ☁️ Infrastructure
- Cloud Setup & Guides:
docs/infra/
- Cloud Setup & Guides:
- 📜 Changelog
- Daily Logs:
docs/logs/
- Daily Logs:
4. Visual Identity
- Primary Color: Deep Purple
- Accent Color: Deep Purple
- Dark Mode: Automatic system detection with manual toggle.
- Features:
- Search: Instant global search.
- Navigation: Section folding enabled.
- Admonitions: Custom stylized boxes for notes, warnings, and tips.
5. Implementation Steps
- Add Dependencies: Use
uv add --dev mkdocs mkdocs-material pymdown-extensions. - Configuration: Create
mkdocs.ymlin the project root. - Index Page: Create
docs/index.mdas the landing page. - Navigation Mapping: Explicitly map files in
mkdocs.ymlto maintain the desired order. - Verification: Run
mkdocs serveto verify the setup.
6. Self-Review
- Placeholder scan: No TBDs.
- Internal consistency: Navigation structure matches existing folder layout.
- Scope check: Focused strictly on MkDocs setup.
- Ambiguity check: Colors and extensions are explicitly defined.