Mintlify Starter Kit Documentation
repository·main·Indexed 23 days ago
https://github.com/mintlify/starterA template for developers to quickly deploy and customize documentation, featuring pre-configured guide pages, navigation, API references, and components. Includes instructions for using the Mintlify CLI for local development, configuring site settings via docs.json, and deploying via the Mintlify GitHub app.
What's inside Mintlify Starter Kit
- To automatically deploy changes from your repository to your live documentation, install the Mintlify GitHub app from your dashboard. Once configured, any changes pushed to your default branch will be automatically deployed to production.
Get started with the Mintlify Starter Kit
mainTo begin using the Mintlify Starter Kit, follow these steps to install, configure, and run the project locally.
1. Install
Install the necessary package using npm:
npm install your-package2. Configure
Initialize the project configuration using the CLI:
your-cli init3. Run it
Start the development server to see the project in action:
your-cli startnpm install your-package your-cli init your-cli startInstall and use the Mintlify CLI for local development
mainThe Mintlify CLI allows you to preview your documentation changes locally.
- Install the CLI globally via npm:
npm i -g mint- Navigate to the root of your documentation folder (where
docs.jsonis located) and start the development server:
mint dev- View your local preview at
http://localhost:3000.
npm i -g mint mint devCustomize your site using docs.json
mainTo personalize your Mintlify site, you should start by editing yourdocs.jsonfile. This file is used to configure core site settings such as your site name, branding, and navigation structure.Set up AI-assisted writing for Mintlify
mainTo enable your AI coding tools (such as Claude Code, Cursor, or Windsurf) to understand Mintlify's component references, writing standards, and workflows, install the Mintlify documentation skill using the following command:
npx skills add https://mintlify.com/docsTroubleshoot Mintlify development environment
mainIf you encounter issues with your local development environment, try the following:
- Dev environment isn't running: Run
mint updateto ensure you are using the most recent version of the CLI. - Page loads as a 404: Verify that you are running the command from a folder that contains a valid
docs.jsonfile.
mint update- Dev environment isn't running: Run