This guide walks you through setting up your local environment, making customizations, and deploying your documentation site.
Overview
You’ll complete three key steps to get your documentation live:- Set up your local development environment
- Make your first customization and preview it
- Deploy your changes to production
Set up your local environment
First, you need to clone your documentation repository and start the local preview server.
Clone your docs repository
Clone your docs repository
During onboarding, you created a GitHub repository for your documentation content. You can find the link to this repository in your Mintlify dashboard.To clone the repository locally:
Start the preview server
Start the preview server
Install the Mintlify CLI globally and start the development server:Navigate to your docs directory (where Open your browser to
docs.json is located) and run:http://localhost:3000 to see your docs live!Make your first customization
Now that your local environment is running, let’s customize your site name and colors.
Install the GitHub app
Install the GitHub app
Before making changes, install the Mintlify GitHub app to enable automatic deployments.
- Go to your dashboard settings
- Click Install GitHub App
- Select your documentation repository
Customize your site
Customize your site
Let’s update your site’s name and brand colors:
- Open
docs.jsonin your code editor - Locate the
namefield and change it to your project name:
docs.json
- Update the
colorsobject to match your brand:
docs.json
- Save the file and check
http://localhost:3000to see your changes instantly!
Deploy your changes
Once you’re happy with your changes, it’s time to deploy them to production.
Push to production
Push to production
Commit your changes and push to GitHub:The Mintlify GitHub app will automatically:
- Detect your changes
- Build your documentation
- Deploy to your live site
Check your repository’s Actions tab to monitor the deployment progress.
What’s next?
Now that your docs are running and deployed, explore these features to enhance your documentation:Write content with MDX
Learn MDX syntax and components to create rich, interactive documentation pages.
Customize your style
Dive deeper into customization options including logos, favicons, and themes.
Add code examples
Include syntax-highlighted code blocks in multiple programming languages.
API documentation
Auto-generate comprehensive API reference docs from your OpenAPI specifications.
Need help? Visit our complete documentation or join the Mintlify community for support.