From 534a84a8609d613c023fc4d2da531a6623166030 Mon Sep 17 00:00:00 2001 From: "mintlify-development[bot]" <109878554+mintlify-development[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:52:58 +0000 Subject: [PATCH] Add mint scrape openapi CLI command documentation Generated-By: mintlify-agent --- es/migration.mdx | 12 ++++++++++++ fr/migration.mdx | 12 ++++++++++++ migration.mdx | 11 +++++++++++ zh/migration.mdx | 12 ++++++++++++ 4 files changed, 47 insertions(+) diff --git a/es/migration.mdx b/es/migration.mdx index 9cde27605..d2499c284 100644 --- a/es/migration.mdx +++ b/es/migration.mdx @@ -155,6 +155,18 @@ Esta guía te ayuda a trasladar tu documentación existente a Mintlify. Elige la mintlify-scrape openapi-file [openApiFilename] ``` + También puedes usar el comando CLI: + + ```bash + mint scrape openapi + ``` + + | Flag | Descripción | + | --- | --- | + | `--outDir` | La carpeta en la que escribir los archivos MDX creados. | + | `--overwrite` | Sobrescribir archivos existentes. | + | `--no-writeFiles` | Mostrar sugerencias de navegación sin escribir archivos. | + ### Añade el contenido preparado a tu proyecto de Mintlify Después de extraer el contenido de tu plataforma de documentación existente, estás listo para crear tu documentación en Mintlify. diff --git a/fr/migration.mdx b/fr/migration.mdx index 590c4b013..6ecef4953 100644 --- a/fr/migration.mdx +++ b/fr/migration.mdx @@ -155,6 +155,18 @@ Ce guide vous aide à migrer votre documentation existante vers Mintlify. Optez mintlify-scrape openapi-file [openApiFilename] ``` + Vous pouvez également utiliser la commande CLI : + + ```bash + mint scrape openapi + ``` + + | Flag | Description | + | --- | --- | + | `--outDir` | Le dossier dans lequel écrire les fichiers MDX créés. | + | `--overwrite` | Écraser les fichiers existants. | + | `--no-writeFiles` | Afficher les suggestions de navigation sans écrire de fichiers. | + ### Ajouter le contenu préparé à votre projet Mintlify Après avoir extrait le contenu de votre plateforme de documentation existante, vous êtes prêt à créer votre documentation sur Mintlify. diff --git a/migration.mdx b/migration.mdx index 1bc61582a..148588faf 100644 --- a/migration.mdx +++ b/migration.mdx @@ -141,6 +141,17 @@ mint scrape site https://your-docs-site.com --filter=/docs mintlify-scrape openapi-file [openApiFilename] ``` +You can also use the CLI command: +```bash +mint scrape openapi +``` + +| Flag | Description | +| --- | --- | +| `--outDir` | The folder in which to write created MDX files. | +| `--overwrite` | Overwrite existing files. | +| `--no-writeFiles` | Output navigation suggestions without writing files. | + ### Add prepared content to your Mintlify project After scraping your existing documentation platform, you are ready to build your docs on Mintlify. diff --git a/zh/migration.mdx b/zh/migration.mdx index c0ffb7713..f32528b54 100644 --- a/zh/migration.mdx +++ b/zh/migration.mdx @@ -155,6 +155,18 @@ keywords: ["migration", "Docusaurus", "ReadMe", "import"] mintlify-scrape openapi-file [openApiFilename] ``` + 你也可以使用 CLI 命令: + + ```bash + mint scrape openapi + ``` + + | Flag | 描述 | + | --- | --- | + | `--outDir` | 写入创建的 MDX 文件的文件夹。 | + | `--overwrite` | 覆盖现有文件。 | + | `--no-writeFiles` | 输出导航建议但不写入文件。 | + ### 将准备好的内容添加到您的 Mintlify 项目 抓取现有文档平台后,您就可以在 Mintlify 上构建文档了。