Documentation Guide
Overview
This guide provides standards and best practices for creating and maintaining documentation in the MNKY MIND system. Following these guidelines ensures consistency, clarity, and quality across all documentation.Good documentation is essential for both internal teams and external developers. It should be comprehensive, clear, consistent, correct, and accessible.
Documentation Structure
All documentation in MNKY MIND follows a hierarchical structure:Categories
Top-level sections (Brand Overview, Technology Stack, etc.)
Groups
Sub-sections within categories (Core Technologies, Infrastructure, etc.)
Pages
Individual documentation files (.mdx files)
Sections
Content divisions within pages (headings and content blocks)
Standard Page Structure
Each documentation page should follow this general structure:Mintlify Components
MNKY MIND documentation uses Mintlify components to enhance readability and user experience. Here are the most commonly used components:Cards
- Single Card
- Card Group
Tabs
Steps
Accordions
Notes and Callouts
Code Blocks
Images
Diagrams
Writing Guidelines
Voice and Tone
Be Clear
Use plain language and avoid unnecessary jargon. Define technical terms when they first appear.
Be Concise
Keep sentences and paragraphs brief. Use bullet points for lists of items or steps.
Be Consistent
Use the same terminology and capitalization throughout the documentation.
Be Helpful
Focus on solving the reader’s problems. Provide examples and use cases.
Style Conventions
Terminology
Terminology
- Use “MOOD MNKY” (all caps) when referring to the brand
- Use “Dojo” (capitalized) when referring to the platform
- Use proper capitalization for technologies (JavaScript, TypeScript, Supabase, etc.)
- Be consistent with product names and features
Formatting
Formatting
- Use bold for emphasis
- Use italics for introduced terms or UI elements
- Use `code formatting` for code snippets, file names, and technical values
- Use > blockquotes for quoted material
Links
Links
- Use descriptive link text (not “click here” or “this link”)
- Link to relevant documentation when referencing other topics
- Use relative links for internal documentation
- Use absolute links for external resources
Images and Media
Images and Media
- Use meaningful alt text for all images
- Keep images under 500KB when possible
- Use SVG format for diagrams and icons
- Use PNG or WebP for screenshots and photos
- Include captions for complex images
/images directory, organized by section.Code Examples
Code examples should be clear, concise, and follow MOOD MNKY coding standards.Best Practices for Code Examples
1
Keep It Simple
Focus on illustrating the concept without unnecessary complexity. Remove code that isn’t directly relevant to the example.
2
Include Comments
Add comments to explain non-obvious parts of the code. Comments should explain “why” rather than “what.”
3
Show Complete Examples
Include imports and necessary setup to make the example work. Avoid partial code that can’t be used directly.
4
Use TypeScript
All code examples should use TypeScript to show proper typing.
Documentation Workflow
1
Plan
- Identify the purpose and audience for the documentation
- Outline the main sections and content
- Gather necessary information and resources
2
Write
- Create the first draft following the structure guidelines
- Include all necessary components and examples
- Focus on clarity and completeness
3
Review
- Self-review for clarity, correctness, and completeness
- Technical review by subject matter experts
- Editorial review for style and consistency
4
Publish
- Merge the documentation into the main branch
- Verify proper rendering in the documentation site
- Announce new or updated documentation if significant
5
Maintain
- Regularly review and update documentation
- Address feedback and clarify confusing sections
- Keep examples and information current
Navigation Structure
When working with the Mintlify navigation structure indocs.json, follow these guidelines to ensure proper functionality:
Dropdown Configuration
Dropdown navigation requires specific structure to ensure proper linking when users click on dropdown titles.
Dropdown Structure Options
Dropdown Structure Options
Mintlify dropdowns can be structured in two ways:
- Direct Pages at Dropdown Level: Include a
pagesarray directly in the dropdown object
- Groups Only: Structure with only
groupswithout apagesarray
Best Practices
Best Practices
- For dropdowns with an index/overview page, use the first approach (direct pages)
- For dropdowns without a dedicated overview, use the second approach
- Ensure the first page in the dropdown is a high-level overview
- Maintain consistent structure across similar dropdowns
- Test navigation after changes to ensure proper linking
Common Issues
Common Issues
- Dropdown not linking: Ensure dropdown has either direct
pagesor its first group has pages - Missing index page: Create dedicated overview pages for major sections
- Inconsistent behavior: Review dropdown structure and align with one of the patterns above
- Navigation depth: Limit to 3 levels (dropdown → group → pages) for usability
Example Configuration
Documentation Review Checklist
Content Quality
Content Quality
- Content is technically accurate
- All necessary topics are covered
- Examples are correct and working
- No outdated information is present
- Content is appropriate for the target audience
Structure and Organization
Structure and Organization
- Logical flow of information
- Appropriate use of headings and subheadings
- Consistent page structure
- Navigation and cross-links are correct
- Related content is properly connected
Style and Formatting
Style and Formatting
- Follows writing guidelines
- Consistent terminology
- Proper grammar and spelling
- Effective use of Mintlify components
- Visual elements enhance understanding
Technical Elements
Technical Elements
- Code examples are correct and follow standards
- API references are accurate
- Frontmatter is properly formatted
- All links work correctly
- Images have proper alt text
Tools and Resources
Mintlify Docs
Official Mintlify documentation
MDX Guide
MDX syntax and features
MOOD MNKY Style Guide
Brand styling guidelines
Code Standards
Development standards for code examples
Icon Library
Font Awesome icons used in components
Image Resources
Brand-approved images and graphics
Getting Help
If you have questions or need assistance with documentation:- Documentation Team: [email protected]
- Slack Channel: #documentation-support
- Office Hours: Wednesdays 10-11am (GMT) for documentation consultation
This guide is a living document and will be updated as our documentation practices evolve. Last updated: April 2025.