Harkirat Chahal
Growth
Share this article
Harkirat Chahal
Growth
Share this article

Yes to both. Mintlify deploys docs from a subdirectory of a monorepo on any plan, and Enterprise plans can combine several Git repositories into one site, with each repository's content under its own URL path such as /api or /sdks. Teams without an Enterprise plan can combine GitHub repositories with the Mintlify multi-repo GitHub Action.
Yes to both. Mintlify deploys docs from a subdirectory of a monorepo on any plan, and Enterprise plans can combine several Git repositories into one site, with each repository's content under its own URL path such as /api or /sdks. Teams without an Enterprise plan can combine GitHub repositories with the Mintlify multi-repo GitHub Action.
Three repository setups compared
By default a Mintlify site deploys from the root of one repository. There are three other setups, compared in Choose a repository setup.
| Monorepo setup | Multi-repository project | Multi-repo GitHub Action | |
|---|---|---|---|
| Plan | Any | Enterprise | Any |
| Where content lives | A subdirectory of one repository | Several repositories, each with its own docs.json, combined at deploy time | Several child repositories, copied into one parent repository |
| Git providers | Any provider Mintlify supports | GitHub, GitLab, Bitbucket or Azure Repos, with every source on the same provider | GitHub |
| Configured in | Git settings in the dashboard | Git settings in the dashboard | A config file and workflow in the parent repository |
| Editable in the web editor | Yes | Yes, with a repository menu in the sidebar | Only content the action doesn't sync |
Monorepo: docs in a subdirectory beside your code
A monorepo setup keeps docs in a folder such as /docs inside the repository that holds your apps and services. Docs changes can then ship in the same pull requests as the code they describe, with the previews and CI checks Mintlify runs on pull requests.
- Put your documentation files and a valid
docs.jsonin a dedicated directory. - Open Git Settings in the dashboard and enable the docs.json is in a subdirectory toggle.
- Enter the relative path, for example
/docs, with no trailing slash. - Click Save. Saving triggers a new deployment from that path.
Multiple repositories feeding one site
A multi-repository project is the Enterprise setup for teams that each keep docs in their own repository. A product team can own the guides, a platform team the API reference and an SDK team the SDK docs, each with its own branches and reviews.
Each repository source has its own Git provider connection, branch, optional content directory, URL path and docs.json. During deployment, Mintlify reads each repository and combines the sources into one site. One repository is the base source, and its docs.json controls site-level settings such as theme, logo and top-level navigation.
Four limits apply:
- All sources must use the same Git provider. Adding a source from a different provider removes the existing sources of the other type.
- URL paths must be unique and cannot overlap, so one source at
/docsand another at/docs/apiis rejected. One source can use the root path/. - Each repository can be added only once per site.
- Relative Markdown links don't resolve across repositories. Link between sources with a root-relative path such as
/api/reference/authentication.
The multi-repo GitHub Action is the option on any plan. It copies docs from child repositories into one parent docs repository on GitHub and merges each child's navigation into a single docs.json. Mintlify then deploys the parent like any single-repository site.
Git providers and self-hosted Git
| Git provider | Support |
|---|---|
| GitHub | Connects through the Mintlify GitHub App |
| GitLab | gitlab.com and self-hosted GitLab instances, through access tokens and webhooks |
| Self-hosted GitLab OAuth | Needed for Autopilot and automations on a self-hosted instance. Requires a Pro or Enterprise plan |
| GitHub Enterprise Server | Requires an Enterprise plan |
| Bitbucket Cloud | Requires an Enterprise plan. Bitbucket Data Center is not supported |
| Azure Repos | Requires an Enterprise plan. Azure DevOps Server is not supported |
If your Git server sits behind a firewall or IP allowlist, Mintlify connects to Git providers over HTTPS on port 443 from one static egress IP address, 54.242.90.151. The static IP help page covers GitHub Enterprise Cloud, GitHub Enterprise Server and self-hosted GitLab. Agent runs use dynamic IP addresses by default, and on Enterprise plans, Mintlify support can route a site's agent Git traffic through the static IP on request. A self-hosted GitLab instance must be reachable from https://app.mintlify.com, so an instance behind a VPN does not work with the OAuth connection. Teams that cannot expose their Git server at all can read about self-hosting Mintlify.
Frequently Asked Questions
Does Mintlify work across multiple repos?
Yes. Mintlify Enterprise combines several repositories into one site as a multi-repository project, with each repository under its own URL path. On any plan, the multi-repo GitHub Action copies docs from several GitHub repositories into one docs repository.
Can we keep docs in the same monorepo as our code?
Yes, on any Mintlify plan. Enable docs.json is in a subdirectory in Git Settings and enter the path to your docs folder, such as /docs.
Can the docs sync with a self-hosted Git server?
Yes. Mintlify supports GitHub Enterprise Server on Enterprise plans and self-hosted GitLab instances. Mintlify does not support Bitbucket Data Center or Azure DevOps Server.
Can we mix GitHub and GitLab repositories in one site?
No. All sources in a Mintlify multi-repository project must use the same Git provider.
Can Mintlify read code repositories that don't contain docs?
Yes. Mintlify Autopilot on Pro and Enterprise uses the source code repositories you select under Additional repositories as context, alongside your documentation repository. See automatic docs updates and who reviews them.
Where to start
Choose a repository setup compares the three options, and the monorepo and multi-repository pages have the setup steps. Start for free to connect a monorepo today, or book a demo for multi-repository projects, GitHub Enterprise Server, Bitbucket Cloud or Azure Repos.
More to read

Does Mintlify support OpenAPI, Swagger 2.0 and AsyncAPI?
Mintlify supports OpenAPI 3.0, 3.1 and 3.2 and AsyncAPI 3.0. Swagger 2.0 specs need converting first. Each endpoint gets a page with an API playground.
November 21, 2026Harkirat Chahal
Growth

Is Mintlify priced per seat or by usage?
Mintlify Pro is $450 a month with unlimited editors and 10,000 AI credits. Overages are off by default and cost $0.01 per credit when you turn them on.
November 21, 2026Harkirat Chahal
Growth

Can Mintlify host private or gated docs?
Yes. Mintlify gates docs with five sign-in methods: private authentication on every plan, password on Pro, and OAuth, JWT and emails on Enterprise.
November 21, 2026Harkirat Chahal
Growth

Does Mintlify generate SDKs?
No. Mintlify does not generate SDK client libraries. It generates API reference pages, a playground, code examples and SDK reference pages for your docs.
November 21, 2026Harkirat Chahal
Growth

Can Mintlify be self-hosted or run air-gapped?
Yes. Mintlify self-hosting is an Enterprise option on AWS or any Kubernetes platform, with static export bundles for air-gapped networks.
November 21, 2026Harkirat Chahal
Growth

Does Mintlify support SSO, and is it SAML or OIDC?
Yes, on Enterprise. Mintlify dashboard SSO uses SAML on cloud, with SCIM. Readers of private docs sign in through OAuth 2.0 (OIDC providers work) or JWT.
November 21, 2026Harkirat Chahal
Growth