Professional mdBook documentation for all Macawi AI projects.
This repository hosts comprehensive mdBook documentation for Macawi AI projects, making our technical documentation accessible anywhere—from sales calls to hotel work to customer presentations.
Why GitHub-hosted mdBooks?
- ✅ Portable: Access from anywhere with just a URL
- ✅ Professional: Clean, searchable, customer-ready
- ✅ Version-controlled: Track documentation evolution
- ✅ GitHub Pages: Free hosting with custom domain support
🧛 Strigoi
AI/LLM Security Assessment Platform
- Production-ready: v1.0.0
- Pages: 85
- Topics: Installation, user guide, operations, testing, security deep-dives
- Status: ✅ Initial structure complete, iterative content population
View Live: docs.macawi.ai/strigoi
mdLib/
├── strigoi/ # Strigoi documentation
│ ├── book.toml # mdBook configuration
│ ├── src/ # Markdown source files
│ │ ├── SUMMARY.md # Navigation structure
│ │ ├── introduction.md # Landing page
│ │ ├── getting-started/ # Installation & quick start
│ │ ├── user-guide/ # User documentation
│ │ ├── operations/ # Deployment & maintenance
│ │ ├── testing/ # Test scenarios & demos
│ │ ├── security/ # Security deep-dives
│ │ ├── architecture/ # System architecture
│ │ ├── integration/ # Integration guides
│ │ └── reference/ # API reference & troubleshooting
│ └── book/ # Build output (generated)
│
├── [future projects]/ # Additional mdBooks as added
│ ├── project-management-platform/
│ ├── sdpmp/
│ ├── hresonator/
│ └── ...
│
└── README.md # This file
Install mdBook:
cargo install mdbook# Build Strigoi documentation
cd strigoi
mdbook build
# View locally
mdbook serve --open# From repository root
for dir in */; do
if [ -f "$dir/book.toml" ]; then
echo "Building $dir..."
cd "$dir"
mdbook build
cd ..
fi
done# From mdLib/ directory
mdbook init my-project
# Configure book.toml
cd my-project
# Edit book.toml with project detailsFollow the Strigoi example:
- Introduction: Landing page with overview
- Getting Started: Installation, quick start, first steps
- User Guide: How to use the product
- Operations: Deployment, configuration, maintenance
- Reference: API specs, troubleshooting, FAQ
mdbook build
mdbook serve --open # View at http://localhost:3000git add my-project/
git commit -m "docs: Add my-project mdBook"
git push origin mainEach mdBook can be deployed to GitHub Pages:
Create .github/workflows/deploy-docs.yml:
name: Deploy mdBooks to GitHub Pages
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install mdBook
run: |
cargo install mdbook
- name: Build all books
run: |
for dir in */; do
if [ -f "$dir/book.toml" ]; then
cd "$dir"
mdbook build
cd ..
fi
done
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./# Build all books
for dir in */; do
if [ -f "$dir/book.toml" ]; then
cd "$dir"
mdbook build
cd ..
fi
done
# Deploy to gh-pages branch
git worktree add gh-pages
cd gh-pages
# Copy build outputs
git add .
git commit -m "Deploy documentation"
git push origin gh-pages-
Customer-Facing Language
- Professional tone
- Clear value propositions
- Avoid excessive jargon
- Banking/enterprise focus
-
Structure
- Start with overview/introduction
- Provide quick start guides
- Include real-world examples
- End with reference material
-
Code Examples
- Use fenced code blocks with language hints
- Include full context (not snippets out of context)
- Add comments for clarity
- Show expected output
-
Navigation
- Keep SUMMARY.md clean and hierarchical
- Use descriptive link text
- Provide "Next Steps" at page ends
- Cross-link related content
- Use tables for comparisons
- Include architecture diagrams (ASCII art or images)
- Add badges for versions, status, platforms
- Use blockquotes for important notes
To migrate mdBooks from resonance (192.168.1.253:8080):
# On local machine
scp -r synth@192.168.1.253:/home/synth/library/books/project-name ./
# Clean up any build artifacts
cd project-name
rm -rf book/
# Rebuild locally
mdbook build
# Commit to mdLib
git add project-name/
git commit -m "docs: Migrate project-name from resonance"
git pushOpen docs URL on customer screen—professional, searchable, always up-to-date.
No VPN needed, edit and view from anywhere.
Share docs URL, customers can explore at their own pace.
Reduce support burden, empower customers with comprehensive docs.
- Edit markdown files in
src/directories - Test locally with
mdbook serve - Commit changes
- Push to GitHub (triggers auto-deploy if configured)
- Add entries to
SUMMARY.md - Create corresponding markdown files
- Use stub generation script if needed
- Fill in content iteratively
- Typos/errors: Open GitHub issue
- Missing content: Label as "documentation"
- Broken links: Label as "bug"
All documentation is licensed under AGPL 3.0 unless otherwise noted.
Individual projects may have different licenses—see their respective directories.
Macawi AI
- Website: macawi.ai
- Email: security@macawi.ai
- GitHub: github.com/macawi-ai
Professional documentation. Portable access. Revenue-ready.