Mintlify uses a docs-as-code approach to manage your documentation. Every page on your site has a corresponding file stored in your documentation .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.
Using an AI coding tool?Copy the following prompt to add the Mintlify skill and MCP server for better results when updating your documentation.
Install the Mintlify skill to get context on Mintlify project structure, components, and documentation best practices:
If your code or documentation is already in a public GitHub repository, auto-generate your documentation site instead.Replace github.com with mintlify.com in any public repository URL:
https://mintlify.com/github-org/repo-name
Go to mintlify.com/start and complete the onboarding process. During onboarding, you’ll connect your GitHub account, create or select a repository for your documentation, and install the GitHub App to enable automatic deployments.After onboarding, your documentation site deploys and is accessible at your .mintlify.app URL.
Optional: Skip connecting a Git provider during onboarding
If you want to get started quickly without connecting your own repository, you can skip the Git provider connection during onboarding. Mintlify creates a private repository in a private organization and automatically configures the GitHub App for you.This lets you use the web editor immediately. If you want to use your own repository later, go to Git Settings in your dashboard to migrate your content using the Git setup wizard. See Clone to your own repository for details.
Your documentation site is now deployed at https://<your-project-name>.mintlify.app.Find your exact URL on the Overview page of your dashboard.
Your site is ready to view immediately. Use this URL for testing and sharing with your team. Before sharing with your users, you may want to add a custom domain.
Open the Introduction page and update the description.
3
Publish
Click the Publish button in the top-right of the web editor toolbar.
4
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.