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
Clone the Lantern documentation repository from GitHub:Follow the Cloning a repository guide for more details.
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!
Your preview updates automatically as you edit files.
Step 2: Deploy your changes
Push to GitHub
Push to GitHub
Changes pushed to the main branch are automatically deployed.
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.
Try changing the primary color to see an immediate difference!
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: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.
Need help? Visit asklantern.com or contact our support team at support@asklantern.com.