Overview
This runbook covers operational procedures for managing SO1 documentation agents, including Mintlify site authoring, OpenAPI specification generation, and operational runbook creation. These procedures ensure comprehensive, accurate, and maintainable documentation across the platform. Purpose: Provide step-by-step instructions for creating and maintaining platform documentation Scope: Mintlify documentation sites, API reference generation, runbook authoring, content management Target Audience: Technical writers, documentation engineers, platform operatorsPrerequisites
Required Access
Required Access
- GitHub repository access (
so1-io/so1-content) - Mintlify dashboard access (team:
so1-io) - Control Plane API access (
CONTROL_PLANE_API_KEY) - Veritas prompt library access
Required Tools
Required Tools
- Mintlify CLI (
npx mintlify dev) - OpenCode with documentation agents installed
- Git CLI
- Markdown editor (VS Code recommended)
curlfor API testing
Required Knowledge
Required Knowledge
- Markdown syntax and MDX extensions
- Understanding of Mintlify component library
- Familiarity with OpenAPI/Swagger specifications
- Basic knowledge of API documentation standards
Procedure 1: Author Mintlify Documentation
Step 1: Plan Documentation Structure
Define the documentation scope:Step 2: Invoke Mintlify Author Agent
Step 3: Review and Customize Generated Content
Step 4: Validate Documentation Quality
Quality Checklist:Step 5: Deploy Documentation
Procedure 2: Generate API Documentation
Step 1: Extract API Endpoints from Codebase
Step 2: Enhance API Specification
Step 3: Generate Mintlify API Reference Pages
Step 4: Add Interactive API Playground
Mintlify automatically generates an API playground from OpenAPI specs:Step 5: Update mint.json Navigation
Procedure 3: Create Operational Runbooks
Step 1: Define Runbook Scope
Step 2: Invoke Runbook Writer Agent
Step 3: Review and Customize Runbook
Key elements to verify:Prerequisites Section
Prerequisites Section
- Required access (API keys, service accounts)
- Required tools (CLI commands, software)
- Required knowledge (concepts, procedures)
Procedure Steps
Procedure Steps
- Clear step-by-step instructions
- Actual commands (not pseudocode)
- Expected outputs
- Decision points clearly marked
Verification Checklists
Verification Checklists
- Success criteria after each procedure
- Checklist items (✅ format)
- Validation commands
Troubleshooting Section
Troubleshooting Section
- Common issues in table format
- Symptoms, root causes, resolutions
- Links to related documentation
Related Resources
Related Resources
Step 4: Test Runbook Procedures
Step 5: Publish Runbook
Procedure 4: Maintain Documentation Quality
Step 1: Run Documentation Audit
Step 2: Update Outdated Content
Step 3: Review User Feedback
Step 4: Continuous Improvement
Monthly Documentation Review:Verification Checklist
After completing documentation operations, verify:Troubleshooting
| Issue | Symptoms | Root Cause | Resolution |
|---|---|---|---|
| MDX Syntax Error | Page doesn’t render, shows error | Invalid component syntax | Run npx mintlify validate, check component documentation |
| Broken Links | 404 when clicking link | Incorrect file path or deleted page | Use npx mintlify broken-links to find and fix |
| Build Failure | Deployment fails | TypeScript errors, missing files | Check Mintlify dashboard build logs, fix errors |
| Navigation Not Updating | New pages don’t appear | mint.json not updated | Add page paths to navigation array in mint.json |
| API Playground Not Working | ”Try it” button fails | Invalid OpenAPI spec | Validate spec with npx @redocly/cli lint openapi.json |
| Search Not Finding Content | Search returns no results | Content not indexed | Rebuild search index via Mintlify dashboard |
| Slow Page Load | Pages take >3s to load | Large images, unoptimized | Compress images, use Mintlify <img> component |
| Dark Mode Issues | Content unreadable in dark mode | Hardcoded colors | Use Mintlify theme colors (text-primary, etc.) |
Detailed Troubleshooting: MDX Component Errors
Related Resources
Mintlify Author Agent
Documentation content generation
API Documenter Agent
OpenAPI specification generation
Runbook Writer Agent
Operational runbook creation
Mintlify Docs
Official Mintlify documentation
Best Practices
Content Writing
- Write for scanners: Use headings, bullets, tables for easy scanning
- Show, don’t tell: Provide code examples and screenshots
- Use consistent terminology: Create a glossary for platform-specific terms
- Keep it current: Review and update docs with each release
- Test all examples: Ensure code snippets actually work
Mintlify Components
-
Use semantic components:
<Info>for helpful tips<Warning>for important cautions<Tip>for best practices<Check>for checklists
-
Organize with CardGroups for related links:
-
Use Tabs for alternatives:
API Documentation
- Document all endpoints: Even internal/beta endpoints
- Provide realistic examples: Use actual data formats
- Include error responses: Document all possible error codes
- Show authentication: Clear examples of auth headers
- Add rate limits: Document throttling policies
Runbook Standards
- Use imperative mood: “Run the command”, not “The command should be run”
- Provide actual commands: Full curl commands, not placeholders
- Include expected outputs: Show what success looks like
- Add troubleshooting: Common issues with resolutions
- Link to related docs: Cross-reference agents, APIs, architecture