Community
documentation
Guide to running and modifying documentation locally
Prerequisites
Getting Started
1
Install Mintlify CLI
Install the Mintlify CLI globally using npm:
2
Clone the Repository
Clone your documentation repository:
3
Start Development Server
Run the development server in your documentation root:
The documentation will be available at http://localhost:3000
Making Changes
Troubleshooting
Common issues and solutions:
- If
mintlify dev
fails, trymintlify install
to reinstall dependencies - Ensure you’re in the correct directory with
mint.json
- Clear your browser cache if changes aren’t reflecting
Always commit your changes to version control:
Deployment
Changes will automatically deploy when pushed to your default branch if you have configured the Mintlify GitHub App.
For optimal deployment:
- Test all changes locally first
- Ensure all images and links work
- Verify navigation structure