Migration Guide: docs-v1 to Mintlify
This document outlines the systematic migration approach, patterns, and transformations used to migrate documentation from the legacy docs-v1 structure to the new Mintlify-based documentation system.Migration Overview
Project Context
- Source: docs-v1 (legacy documentation with 1,450+ files)
- Target: Mintlify documentation framework
- Goal: Maintain technical accuracy while improving user experience with modern components
Key Objectives
- Preserve Technical Accuracy: All code examples, configurations, and technical details must remain accurate
- Improve User Experience: Enhance readability and navigation with modern Mintlify components
- Maintain SEO: Preserve search optimization through proper frontmatter and structure
- Systematic Approach: Use consistent patterns for reliable, scalable migration
Completed Migrations
Phase 1: Core Infrastructure (Completed)
- Google SSO Configuration →
security/sso/google.mdx - Auth0 SSO Configuration →
security/sso/auth0.mdx - Okta SSO Configuration →
security/sso/okta.mdx - API Authentication →
api/authentication.mdx - Python SDK Overview →
sdk/python/overview.mdx - Python SDK API Reference →
sdk/python/api-reference.mdx - Java SDK Overview →
sdk/java/overview.mdx
Phase 2: Database Connectors (Completed)
- MySQL Database Connector →
connectors/database/mysql.mdx - PostgreSQL Database Connector →
connectors/database/postgres.mdx - Snowflake Cloud Data Warehouse →
connectors/database/snowflake.mdx - Google BigQuery Connector →
connectors/database/bigquery.mdx - Amazon Redshift Connector →
connectors/database/redshift.mdx - Database Connectors Overview →
connectors/database/overview.mdx
Phase 3: Infrastructure & Organization (Completed)
- docs.json Cleanup: Removed 1,000+ non-existent page references to eliminate 404 errors
- Navigation Streamlining: Created clean navigation structure with only existing pages
- SDK Overview Enhancement →
sdk/overview.mdx - Navigation Updates: Added database connectors overview to navigation structure
Component Transformation Patterns
1. Header Conversion
Source Pattern:- Remove slug and collate fields
- Simplify title (remove branding suffixes)
- Ensure description is concise and quote-wrapped
2. Note/Warning Components
Source Pattern:- Convert
{%note%}to<Accordion>for expandable content - Convert
{%important%}to<Accordion>with descriptive titles - Preserve markdown formatting within accordions
3. Connector Details Headers
Source Pattern:- Replace connector headers with visual card groups
- Convert feature lists to checkmark/cross lists with descriptions
- Add overview section with connector purpose
4. Collate Branding
Source Pattern:- Replace “OpenMetadata” with “Collate” in all text and code
- Update package names and class names consistently
- Maintain technical accuracy in examples
5. Configuration Examples
Source Pattern:- Replace environment variable syntax with concrete examples
- Use realistic placeholder values
- Maintain YAML structure and indentation
File Organization Patterns
Directory Structure
Naming Conventions
- Use kebab-case for file names (
mysql.mdx,api-reference.mdx) - Group related content in subdirectories
- Maintain logical hierarchy that matches navigation structure
Content Enhancement Patterns
1. Introduction Sections
Add visual elements:2. Code Examples
Enhance with context:3. Troubleshooting Sections
Structure with accordions:Technical Migration Workflow
1. Pre-Migration Analysis
2. File Reading and Analysis
3. Content Transformation
- Header Conversion: Update frontmatter to Mintlify format
- Component Replacement: Transform legacy components to Mintlify equivalents
- Content Enhancement: Add visual elements and improve structure
- Branding Update: Replace OpenMetadata with Collate consistently
4. Quality Assurance
- Verify all code examples are technically accurate
- Test navigation links and internal references
- Validate Mintlify component syntax
- Check responsive design elements
docs.json Management
Navigation Structure
Best Practices
- Only Include Existing Pages: Prevent 404 errors by verifying file existence
- Logical Grouping: Group related content under meaningful section names
- Progressive Addition: Add navigation entries as content is migrated
- Consistent Naming: Match navigation names to actual page titles
Error Prevention
Common Issues and Solutions
1. 404 Errors
Problem: Navigation references non-existent pages Solution: Audit docs.json against actual file structure regularly2. Component Syntax Errors
Problem: Invalid Mintlify component syntax Solution: Use established patterns and test locally3. Broken Internal Links
Problem: Links pointing to non-migrated content Solution: Update links progressively or use placeholder pages4. Inconsistent Branding
Problem: Mixed OpenMetadata/Collate references Solution: Systematic find-and-replace with manual verificationFuture Migration Priorities
High Priority (Next Phase)
- Database Connectors: PostgreSQL, Snowflake, BigQuery
- Connector Overview Pages: Create category landing pages
- Basic Administration: User management, roles, policies
Medium Priority
- Data Quality Guides: Profiler, quality tests, incident management
- Data Governance: Classification, glossary, domains
- Deployment Guides: Docker, bare metal, cloud platforms
Low Priority
- Advanced Features: Workflows, automation, custom integrations
- Developer Guides: API examples, custom connectors
- Troubleshooting: Detailed problem-resolution guides
Tools and Commands
Development Setup
Content Validation
Success Metrics
Completed Achievements
- ✅ Zero 404 Errors: Cleaned navigation to only include existing content
- ✅ Consistent Branding: Systematic OpenMetadata → Collate transformation
- ✅ Enhanced UX: Modern Mintlify components improve readability
- ✅ Technical Accuracy: All code examples and configurations verified
- ✅ Scalable Patterns: Established reusable transformation patterns
Ongoing Targets
- Content Coverage: Migrate 50+ high-priority pages from docs-v1
- User Experience: Maintain fast load times and intuitive navigation
- Search Optimization: Proper frontmatter and structure for discoverability
- Maintenance Efficiency: Clear patterns for future content updates
This migration guide serves as both documentation and reference for continuing the systematic transformation of docs-v1 content to the modern Mintlify framework. All patterns established here should be consistently applied to ensure quality and maintainability.