Before you begin
Mintlify uses a docs-as-code approach to manage your documentation. Every page on your site has a corresponding file stored in your documentation repository. When you connect your documentation repository to your project, you can work on your documentation locally or in the web editor and sync any changes to your remote repository.Deploy your documentation site
Start onboarding
Go to mintlify.com/start to begin the onboarding process.
Connect your GitHub account
Authorize Mintlify to access your GitHub account. This enables automatic deployments when you push changes.
Create or select a repository
Choose an existing repository for your documentation or create a new one. Mintlify will use this repository to store your documentation files.
You can skip connecting GitHub during onboarding if you want to get started quickly. Mintlify creates a private repository in a private organization and automatically configures the GitHub App for you.
Install the GitHub App
Install the Mintlify GitHub App to enable automatic deployments. This allows Mintlify to detect when you push changes and rebuild your site.
View your deployed site
Your documentation site is now deployed athttps://<your-project-name>.mintlify.app.
Find your exact URL on the Overview page of your dashboard.
Make your first change
Choose your preferred editing method to update your documentation:- Web editor
- CLI
Open the web editor
Navigate to the web editor in your dashboard.
Edit a page
Open the Introduction page and update the description. The web editor provides a live preview of your changes.
Publish your changes
Click the Publish button in the top-right of the web editor toolbar to commit and deploy your changes.
View live
On the Overview page of your dashboard, you can see your site’s deployment status. When it finishes deploying, refresh your documentation site to see your changes live.
Next steps
Now that you have a live documentation site, explore these features to enhance your docs:Use the web editor
Edit documentation in your browser and preview how your pages look when published.
Explore CLI commands
Find broken links, check accessibility, validate OpenAPI specs, and more.
Add a custom domain
Use your own domain for your documentation site.
Customize your theme
Match your brand with custom colors, fonts, and styling options.