Skip to content

t1k:web:content:mintlify

FieldValue
Modulecontent
Version1.7.0
Effortmedium
Tools

Keywords: developer portal, docs, documentation, knowledge base, MDX, mintlify, OpenAPI

/t1k:web:content:mintlify
[task] [path]

Mintlify is a modern documentation platform that transforms Markdown/MDX files into beautiful, interactive documentation sites.

Terminal window
npm i -g mint
mint new # Initialize new docs
mint dev # Local preview
mint validate # Validate configuration

Configuration: docs.json file defines theme, navigation, branding, colors, integrations.

Themes: 9 options - mint, maple, palm, willow, linden, almond, aspen, sequoia, luma

Content: MDX files with frontmatter, support for React components and Mintlify-specific components.

Navigation: Tabs, anchors, groups, dropdowns, products, versions, languages (28+ locales).

Components: 26+ built-in components for structure, API documentation, callouts, diagrams, interactivity.

Terminal window
mint dev # Local server on port 3000
mint new # Scaffold new docs project
mint update # Update Mintlify packages
mint broken-links # Check for broken links
mint a11y # Accessibility audit
mint validate # Validate docs.json config
mint openapi-check # Validate OpenAPI specs
mint rename <old> <new> # Rename file + update refs
mint upgrade # Upgrade mint.json to docs.json

API Documentation: Auto-generate from OpenAPI/AsyncAPI specs, interactive playgrounds, multi-language code examples.

AI Features: llms.txt, skill.md, MCP support, contextual AI menu options, Discord/Slack bots.

Customization: Custom fonts, colors, backgrounds, logos, favicons, page modes (default|wide|custom|frame|center).

Analytics: GA4, PostHog, Amplitude, Clarity, Fathom, Heap, Hotjar, LogRocket, Mixpanel, Plausible, and more.

Deployment: Auto-deploy from GitHub/GitLab, preview deployments, custom domains, subpath hosting, Vercel/Cloudflare/AWS.

Navigation: Products (partition docs), versions (multiple doc versions), languages (i18n), tabs, menus, anchors.

SEO: Custom metatags, indexing control, redirects, sitemap generation.

  • references/docs-json-configuration-reference.md - Complete docs.json configuration
  • references/mdx-components-reference.md - All 26+ MDX components
  • references/api-documentation-components-reference.md - API docs and OpenAPI integration
  • references/navigation-structure-and-organization-reference.md - Navigation patterns
  • references/deployment-and-continuous-integration-reference.md - Deployment and CI/CD
  • references/ai-features-and-integrations-reference.md - AI assistant, llms.txt, MCP

Basic docs.json:

{
"theme": "mint",
"name": "My Docs",
"colors": {
"primary": "#0D9373"
},
"navigation": [
{
"group": "Getting Started",
"pages": ["introduction", "quickstart"]
}
]
}

MDX page with components:

---
title: "Getting Started"
description: "Quick introduction"
---
<Note>Important information</Note>
<CodeGroup>
```bash
npm install
pip install
Install the package Set up config ```
  • Mintlify doc previews diverge from prod on incremental builds — always do a clean rebuild before sign-off.
  • OpenAPI references need explicit x-mint-display-order for stable rendering — otherwise alphabetical chaos.
  • Frontmatter changes invalidate Algolia search index — stale search results for 24-48h after bulk reorganization.