Overview
Prerequisites
- A publicly accessible Mintlify documentation site
- The base URL of the documentation (e.g.,
docs.example.com)
Configuration
Required Fields
Optional Fields
Setup Steps
- Navigate to Knowledge → Sources
- Click Create Source
- Select Mintlify as the source type
- Enter the documentation domain
- (Optional) Configure include/exclude patterns
- Click Save
- Click Sync to start importing
URL Pattern Filtering
Use fnmatch-style patterns to control what gets imported:Include Patterns
Only import pages matching these patterns:Exclude Patterns
Skip pages matching these patterns:Pattern Examples
How It Works
- Discovery: Fetches the sitemap to find all pages
- Filtering: Applies include/exclude patterns
- Hierarchy: Uses the site’s navigation config (docs.json or mint.json) to build the sidebar structure. If no config is available, infers hierarchy from URL paths
- Extraction: Fetches markdown content from each page
- Storage: Saves documents with metadata and links to the original pages
Limitations
- Only works with publicly accessible sites
- May be affected by rate limiting
- Complex JavaScript-rendered content may not extract fully
- Respects robots.txt directives
Troubleshooting
Pages Not Found
Pages Not Found
- Verify the domain is correct and accessible
- Check if the site requires authentication
- Ensure pages aren’t blocked by robots.txt
Missing Content
Missing Content
- Some dynamic content may not be captured
- Check if content is loaded via JavaScript
- Review exclude patterns aren’t too broad
Sync Takes Too Long
Sync Takes Too Long
- Large sites may take time to crawl
- Consider using include patterns to limit scope
- Check for redirect loops
Related Documentation
- Knowledge Connectors - All available connectors
- Knowledge Source Management - Source configuration
