Documentation site built with MkDocs Material.
make install # Creates Python virtual environment and installs mkdocs-materialThe install command automatically:
- Creates a
.venvdirectory with an isolated Python environment - Installs all required dependencies
- Works on macOS, Linux, and Windows (with minor adjustments)
make run # Starts local dev server at http://localhost:8000make build # Creates site/ directory
make clean # Remove site/ directoryCloudflare Pages:
- Build command:
mkdocs build - Deploy command:
npx wrangler deploy - Builds from
requirements.txt, deployssite/viawrangler.jsonc
GitHub Pages: make deploy
docs/
├── mkdocs.yml
├── README.md
└── docs/
├── index.md # Overview
├── getting-started.md # Installation
├── dashboard.md # Web dashboard
├── slack.md # Slack integration
├── goose.md # Desktop app
├── github-bot.md # Reviewer assignment
├── plans.md # Plan comparison
├── troubleshooting.md # Common issues
└── security.md # Security & privacy
Pike's rules:
- Commands over explanation
- No repetition
- Assume basic competence
- Cut obvious warnings
- Brevity is paramount
Structure pages naturally:
- Installation → Configuration → Troubleshooting
- No forced templates
- Let each page breathe
GitHub Pages:
mkdocs gh-deployCustom domain: Add CNAME to docs/, configure DNS, deploy.