Documentation Site - Deployment Summary¶
Date: 2026-02-09 Status: ✅ Live URL: https://smallthinkingmachines.github.io/harombe/
What Was Built¶
A professional documentation website using MkDocs with Material theme, featuring:
- 27+ pages of comprehensive documentation
- Dark/light mode support
- Full-text search
- Code syntax highlighting
- Mermaid diagram support
- Mobile-responsive design
- Automatic deployment via GitHub Actions
Infrastructure¶
Dependencies Added¶
Nix Environment (flake.nix):
Python Package (pyproject.toml):
dev = [
# ... existing deps
"mkdocs>=1.5",
"mkdocs-material>=9.5",
"mkdocs-mermaid2-plugin>=1.1",
"mkdocs-git-revision-date-localized-plugin>=1.2",
]
Configuration¶
MkDocs Config (mkdocs.yml):
- Material theme with dark/light mode
- Navigation structure with tabs
- Search with suggestions
- Code copy buttons
- Git revision dates
- Mermaid diagram support
Deployment¶
GitHub Actions (.github/workflows/docs.yml):
- Triggers on changes to
docs/**ormkdocs.yml - Builds with Python 3.12
- Deploys to
gh-pagesbranch - Publishes to GitHub Pages automatically
New Documentation Pages¶
Created Pages¶
- Landing Page (
docs/index.md) - Feature overview with cards
- Quick start guide
- Architecture diagram
- Performance metrics table
-
Use cases
-
Installation Guide (
docs/getting-started/installation.md) - System requirements
- Three installation methods (pip, Nix, manual)
- Optional components (Docker, gVisor, Vault)
- Configuration setup
-
Troubleshooting
-
Quick Start (
docs/getting-started/quickstart.md) - 5-minute getting started
- Interactive chat example
- Programmatic usage examples
- Memory integration
- Security features
-
Common tasks
-
Configuration Reference (
docs/getting-started/configuration.md) - Environment variables
- Configuration file format (YAML)
- Programmatic configuration
- Complete settings reference
- Environment-specific configs
-
Best practices
-
Architecture Overview (
docs/architecture/overview.md) - High-level architecture diagram
- Core components deep-dive
- Data flow diagrams
- Design principles
- Performance characteristics
- Scalability discussion
- Technology stack
-
Deployment architectures
-
Security Overview (
docs/security/overview.md) - Security philosophy
- Five layers of defense
- Threat model with scenarios
- Security metrics
- Compliance overview
- Security checklist
- Quick start for security
- Best practices
Site Structure¶
Home (index.md)
│
├── Getting Started
│ ├── Installation (NEW)
│ ├── Quick Start (NEW)
│ └── Configuration (NEW)
│
├── Architecture
│ ├── Overview (NEW)
│ ├── Memory & RAG (existing)
│ ├── Vector Store (existing)
│ ├── Voice Interface (existing)
│ ├── MCP Gateway (existing)
│ └── Security Architecture (existing)
│
├── Security
│ ├── Overview (NEW)
│ ├── Quick Start (existing)
│ ├── Architecture (existing)
│ ├── Foundation (existing)
│ ├── Sandboxing (existing)
│ ├── Credentials (existing)
│ ├── Network (existing)
│ ├── Audit Logging (existing)
│ └── HITL Gates (existing)
│
├── Deployment
│ ├── Production Guide (existing)
│ └── Performance Results (existing)
│
├── Development
│ ├── Contributing (existing)
│ └── Development Setup (existing)
│
├── Phases
│ ├── Phase 0 (existing)
│ ├── Phase 4 (existing)
│ ├── Phase 4.8 (existing)
│ └── Phase 5 (existing)
│
└── User Guides
├── Browser Usage (existing)
├── Code Sandbox (existing)
└── Voice Setup (existing)
Total: 27+ pages
Features¶
Navigation¶
- Tabs: Top-level navigation with expandable sections
- Sections: Collapsible sidebar navigation
- Footer: Previous/Next page links
- Top Button: Quick scroll to top
- Breadcrumbs: Current location in hierarchy
Search¶
- Full-text: Search across all pages
- Suggestions: Auto-suggest as you type
- Highlighting: Search term highlighting in results
- Share: Share search results with URL
Content¶
- Code Blocks: Syntax highlighting for Python, Bash, YAML, JSON, etc.
- Copy Button: One-click code copying
- Admonitions: Note, Warning, Tip, Danger boxes
- Tables: Responsive tables
- Mermaid Diagrams: Architecture and flow diagrams
- Task Lists: Interactive checkboxes
Mobile¶
- Responsive: Works on all screen sizes
- Touch-friendly: Easy navigation on mobile
- Fast: Optimized for mobile networks
SEO¶
- Meta Tags: Proper meta descriptions
- Structured Data: Schema.org markup
- Social Cards: OpenGraph for sharing
- Sitemap: XML sitemap for search engines
Deployment Process¶
Manual Deployment¶
Automatic Deployment¶
Whenever you push changes to:
docs/**/*.mdmkdocs.yml.github/workflows/docs.yml
GitHub Actions automatically:
- Checks out the code
- Sets up Python 3.12
- Installs MkDocs and plugins
- Builds the documentation
- Deploys to
gh-pagesbranch - Publishes to GitHub Pages
Live URL: https://smallthinkingmachines.github.io/harombe/
Performance¶
Build Time¶
- Local: ~2-3 seconds
- GitHub Actions: ~30-45 seconds (includes setup)
Site Performance¶
- Load Time: <2 seconds (initial)
- Search: <100ms (instant results)
- Navigation: <50ms (instant)
Maintenance¶
Adding New Pages¶
- Create markdown file in
docs/directory - Add to
nav:section inmkdocs.yml - Commit and push - auto-deploys!
Updating Content¶
- Edit any
.mdfile indocs/ - Commit and push - auto-deploys!
Checking Locally¶
# Serve locally with live reload
mkdocs serve
# Open http://127.0.0.1:8000 in browser
# Changes reload automatically
Best Practices¶
Documentation¶
- Use Relative Links:
[link](../path/to/page.md) - Add Frontmatter: Optional metadata at top of file
- Include Examples: Code examples for all features
- Keep DRY: Link to detailed docs, don't duplicate
- Check Links: Run
mkdocs build --strictto catch broken links
Writing Style¶
- Active Voice: "Install dependencies" not "Dependencies should be installed"
- Present Tense: "The agent runs" not "The agent will run"
- Short Sentences: Easy to read and translate
- Code Blocks: Always include language identifier
- Headings: Use sentence case, not Title Case
Structure¶
- Overview First: What is this? Why use it?
- Quick Start: Get running quickly
- Deep Dive: Detailed explanation
- Reference: Complete API/config reference
- Examples: Real-world usage
Known Issues¶
Warnings During Build¶
Some warnings appear during build about missing links:
phases/phase5-implementation-plan.md- Phase 5 plan needs to be moved todocs/phases/api-reference/*.md- API reference pages not yet createdexamples/*.py- Example files not in docs directory
These don't prevent deployment, just create 404s if users click those links.
Resolution¶
To fix:
- Move phase plans to
docs/phases/directory - Create API reference pages
- Add examples to documentation or link to repo
Future Enhancements¶
Planned¶
- Version Selector: Support multiple versions (using mike)
- API Reference: Auto-generated API docs from docstrings
- Blog: News and updates section
- Tutorials: Step-by-step guides
- Videos: Embedded tutorial videos
- Community: Link to Discord/Slack
- Changelog: Automatically generated from commits
Optional¶
- Translations: Multi-language support (i18n)
- Comments: Discussion on each page (utterances/giscus)
- Analytics: Track popular pages (Google Analytics)
- Custom Domain: docs.harombe.dev
- PDF Export: Generate PDF of entire docs
Resources¶
Documentation¶
- MkDocs: https://www.mkdocs.org/
- Material Theme: https://squidfunk.github.io/mkdocs-material/
- Markdown Guide: https://www.markdownguide.org/
Examples¶
- FastAPI: https://fastapi.tiangolo.com/ (excellent docs)
- SQLModel: https://sqlmodel.tiangolo.com/
- LangChain: https://python.langchain.com/
Summary¶
✅ Documentation site live at https://smallthinkingmachines.github.io/harombe/ ✅ Auto-deployment via GitHub Actions ✅ 27+ pages of comprehensive documentation ✅ Professional design with Material theme ✅ Full-text search across all content ✅ Mobile-responsive and fast ✅ Zero cost (all free tools and hosting)
Next Steps:
- Add API reference documentation
- Create tutorials and guides
- Fix broken links (move phase5 plan to docs/phases/)
- Consider custom domain (docs.harombe.dev)
Document Version: 1.0 Last Updated: 2026-02-09 Maintainer: Documentation Team