From af8afd4d8e49e200402ce73ad79f722c11287b1d Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 20:56:42 +0000 Subject: [PATCH] Document mint export command for air-gapped deployment Generated-By: mintlify-agent --- installation.mdx | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/installation.mdx b/installation.mdx index abf0159c6..7b940a7af 100644 --- a/installation.mdx +++ b/installation.mdx @@ -1,7 +1,7 @@ --- title: "Install the CLI" description: "Use the CLI to preview docs locally, test changes in real-time, and catch issues before deploying your documentation site." -keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility"] +keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility", "export", "air-gapped", "offline"] --- + Node.js must be installed on the machine serving the exported site. The first time you run `mint export`, an internet connection is required to download the build client. + + +| Flag | Description | +| --- | --- | +| `--output` | Set the output zip file path. Defaults to `export.zip`. | +| `--groups` | Mock user groups for the export (useful when exporting group-specific content). | +| `--disable-openapi` | Disable OpenAPI file generation during export. | + +```bash +# Export to a custom filename +mint export --output docs.zip + +# Export with specific user group content +mint export --groups admin + +# Export without OpenAPI processing +mint export --disable-openapi +``` + ### Check OpenAPI spec Check your OpenAPI file for errors with the following command: