- Home Page (
docs/index.md) - Engaging problem/solution introduction with navigation - Core Concepts (
docs/core-concepts.md) - Architecture, design principles, and methodology - Installation (
docs/installation.md) - Basic setup with SQLite/PostgreSQL options - MkDocs Configuration (
mkdocs.yml) - Complete navigation and theme setup - GitHub Pages Workflow (
.github/workflows/docs.yml) - Automatic deployment setup - Setup Guides (
README.md,GITHUB_PAGES_SETUP.md) - Complete deployment instructions
- Overview (
docs/api/overview.md) - Complete with common patterns and imports - ContextMesh (
docs/api/context-mesh.md) - Comprehensive API reference with all methods - Tools (
docs/api/tools.md) - Complete ToolHandler API, access control, and integration examples - Prompts (
docs/api/prompts.md) - Complete prompt injection API reference
- Overview (
docs/guides/overview.md) - Complete guide to approaches and best practices - Basics (
docs/guides/basics.md) - Complete beginner guide with working examples - Context Management (
docs/guides/context.md) - Complete advanced guide with security focus
- Persistence (
docs/api/persistence.md) - Database backends and configuration - Tool Schemas (
docs/api/schemas.md) - Complete schema reference for all tools
- Tools & Permissions (
docs/guides/tools.md) - Advanced tool usage with access control - Final Remarks (
docs/guides/final-remarks.md) - Best practices summary and production tips
- ✅ All code examples are based on actual SDK code
- ✅ Examples are copy-pasteable and work immediately
- ✅ Security warnings prominently displayed (red boxes)
- ✅ User isolation emphasized throughout
- ✅ Clear, human-like writing style (not AI-generated feel)
- ✅ Logical flow between sections
- ✅ Topic-based vs subscription-based routing explained
- ✅ User isolation security patterns documented
- ✅ Persistence options (SQLite/PostgreSQL) covered
- ✅ Tool access control and permissions detailed
- ✅ Context lifecycle and TTL best practices
- ✅ Performance optimization techniques
- ✅ Framework integration examples (OpenAI, Anthropic)
- ✅ Home page with problem/solution and navigation boxes
- ✅ Core concepts with development methodology
- ✅ Installation focused on basics (minimal edge cases)
- ✅ API reference with accurate information from codebase
- ✅ Guides with progressive complexity and working examples
-
Create remaining API pages:
- Persistence API reference
- Complete tool schemas documentation
-
Finish guides:
- Tools & permissions with role-based examples
- Final remarks tying everything together
-
Verification:
- Test all code examples work as written
- Ensure no inaccurate information
- Add red warning boxes where needed
The documentation uses MkDocs with Material theme and can be built with:
pip install mkdocs mkdocs-material mkdocstrings[python]
mkdocs serveAll sections follow the user's requirements for:
- Clear, personable writing
- Working code examples
- Security-first approach
- Production readiness focus
- Framework-agnostic design