Get started in three steps
Get your documentation site running locally and make your first customization.Step 1: Set up your local environment
Clone your docs locally
Clone your docs locally
During the onboarding process, you created a GitHub repository with your docs content if you didn’t already have one. You can find a link to this repository in your dashboard.To clone the repository locally so that you can make and preview changes to your docs, follow the Cloning a repository guide in the GitHub docs.
Start the preview server
Start the preview server
- Install the Mintlify CLI:
npm i -g mint - Navigate to your docs directory and run:
mint dev - Open
http://localhost:3000to see your docs live!
Step 2: Deploy your changes
Install our GitHub app
Install our GitHub app
Install the Mintlify GitHub app from your dashboard.Our GitHub app automatically deploys your changes to your docs site, so you don’t need to manage deployments yourself.
Update your site name and colors
Update your site name and colors
For a first change, let’s update the name and colors of your docs site.
- Open
docs.jsonin your editor. - Change the
"name"field to your project name. - Update the
"colors"to match your brand. - Save and see your changes instantly at
http://localhost:3000.
Step 3: Go live
Publish your docs
Publish your docs
- Commit and push your changes.
- Your docs will update and be live in moments!
Next steps
Now that you have your docs running, explore these key features:Example XML feed: Download feed.xml to see how static XML files are served.
Write Content
Learn MDX syntax and start writing your documentation.
Customize style
Make your docs match your brand perfectly.
Add code examples
Include syntax-highlighted code blocks.
API documentation
Auto-generate API docs from OpenAPI specs.
Essential features
Content management
- Create and organize MDX files
- Use frontmatter for metadata
- Add images and assets
- Structure with headings and sections
Customization options
- Configure site colors and branding
- Customize navigation structure
- Add custom CSS and components
- Set up search functionality
Developer tools
- Hot reload preview server
- Automatic deployments via GitHub
- Version control integration
- CLI commands for common tasks
Documentation features
- Syntax-highlighted code blocks
- Interactive API documentation
- Search and navigation
- Mobile-responsive design
Quick tips
Getting started
- Install Mintlify CLI globally
- Clone your repository locally
- Run
mint devto preview - Make changes and see updates instantly
Best practices
- Keep content organized in folders
- Use descriptive file names
- Write clear, concise documentation
- Test your changes locally first
Troubleshooting
- Check your
docs.jsonconfiguration - Verify file paths and links
- Review console for errors
- Consult the Mintlify documentation
Need help? See our full documentation or join our community.