From GitBook to Mintlify—a complete infrastructure overhaul that transformed how AI agents and developers discover and use Dify’s platform
Before: GitBook | After: Mintlify |
---|---|
![]() | ![]() |
llms.txt
files.
llms.txt
is a structured Markdown file that summarizes your most important content in a format optimized for LLM consumption, free from HTML clutter, JavaScript, or ads.Critical Issues with GitBook
Issue | Description | Impact |
---|---|---|
Frequent crashes | Adding hyperlinks often froze the editor | High |
Collaboration failures | White screens during multi-user editing | High |
Poor support | No response system for feedback submissions | Medium |
Navigation problems | Overly vertical structure, poor UX | Medium |
API doc rendering | Consistent rendering failures | High |
Content corruption | Platform automatically modified existing docs | High |
Preview limitations | No effective cross-team preview system | Medium |
Inconsistent rendering | Editor vs. published page discrepancies | Medium |
GitBook isn’t built for docs-as-code.With over 600 articles and complex internal linking, we needed a platform designed for scale and sustainability.
Feature | GitBook | Mintlify | Starlight | Docusaurus | Nextra |
---|---|---|---|---|---|
⭐️ Local preview | ❌ | ✅ | ✅ | ✅ | ✅ |
⭐️ Version control | ❌ | ✅ | ✅ (with plugins) | ✅ | ❌ |
⭐️ Multi-language | ✅ | ✅ | ✅ | ✅ | ✅ |
⭐️ API documentation | ✅ (buggy) | ✅ | ✅ (needs integration) | ✅ (needs plugins) | ✅ (custom) |
Visual editing | ✅ | ✅ | ❌ | ❌ | ❌ |
Cost | Free / $79+ | Free / $150/month | Open source | Open source | Open source |
Who uses it | NordVPN, Raycast | Cursor, Anthropic, Perplexity | Astro projects | Various industries | Open source projects |
.mdx
instead of traditional .md
files. This format combines Markdown simplicity with JSX capabilities, enabling richer interactions and component usage.
With AI assistance, format conversion became manageable rather than a barrier. What mattered more was future extensibility and intelligent tool integration.
GitBook Syntax | Mintlify Syntax |
---|---|
![]() | ![]() |
{% %}
syntax is not only unreadable but breaks in most Markdown environments.
Solution: AI-Powered Conversion
I built a Dify application to automatically convert documentation syntax. By providing syntax correspondence rules as context, the AI accurately transformed content while maintaining semantic meaning.
Try the MD to MDX Assistant
Full Document AI Query | Real-time AI Assistance |
---|---|
![]() | ![]() |