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: