Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/commands.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Commands"
description: "Complete reference for every Mintlify CLI command and flag, including mint dev, mint build, mint validate, mint analytics, and more."

Check warning on line 3 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L3

Use 'Dev' instead of 'dev'.
keywords: ["CLI", "mint", "commands", "flags", "reference"]
---

Expand Down Expand Up @@ -141,7 +141,7 @@
| --- | --- |
| `--page` | Filter conversations that reference a specific page in sources. |

#### `mint analytics conversation view <conversation-id>`

Check warning on line 144 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L144

'````' should use sentence-style capitalization.

View a single conversation by ID. Use `mint analytics conversation list` to get IDs.

Expand All @@ -157,7 +157,7 @@
mint analytics conversation buckets list
```

#### `mint analytics conversation buckets view <bucket-id>`

Check warning on line 160 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L160

'````' should use sentence-style capitalization.

View conversations in a category bucket. Use `mint analytics conversation buckets list` to get IDs.

Expand All @@ -175,7 +175,7 @@
mint config <subcommand> <key> [value]
```

| Subcommand | Description |

Check warning on line 178 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L178

Use 'subcommands?' instead of 'Subcommand'.
| --- | --- |
| `set <key> <value>` | Set a configuration value. |
| `get <key>` | Display a configuration value. |
Expand Down Expand Up @@ -205,6 +205,7 @@
| --- | --- |
| `--check-anchors` | Also validate anchor links (for example, `/page#section`) against heading slugs. |
| `--check-external` | Also check external URLs for broken links. |
| `--check-redirects` | Also check that `docs.json` redirect destinations resolve to valid paths. |
| `--check-snippets` | Also check links inside `<Snippet>` components. |

---
Expand Down Expand Up @@ -241,7 +242,7 @@
| `--local-schema` | Allow validation of locally hosted OpenAPI files served over HTTP. Only supports HTTPS in production. |

<Note>
The standalone `mint openapi-check` command is deprecated. Use `mint validate` instead.

Check warning on line 245 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L245

In general, use active voice instead of passive voice ('is deprecated').
</Note>

---
Expand Down Expand Up @@ -363,7 +364,7 @@

## Telemetry

The CLI collects anonymous usage telemetry to help improve Mintlify. Telemetry data includes the command name, CLI version, operating system, and architecture. Mintlify does **not** collect personally identifiable information, project content, or file paths.

Check warning on line 367 in cli/commands.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/commands.mdx#L367

Did you really mean 'informat'?

By default, the CLI collects telemetry data. You can opt out at any time using the `--telemetry` flag:

Expand Down
6 changes: 6 additions & 0 deletions create/redirects.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Redirects"
description: "Configure URL redirects in docs.json for moved, renamed, or deleted documentation pages to preserve SEO rankings and prevent broken links."

Check warning on line 3 in create/redirects.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

create/redirects.mdx#L3

Use 'JSON' instead of 'json'.
keywords: ["redirects"]
---

Expand Down Expand Up @@ -104,3 +104,9 @@
```bash
mint broken-links
```

To also verify that redirect destinations resolve to valid pages, use the `--check-redirects` flag:

```bash
mint broken-links --check-redirects
```
1 change: 1 addition & 0 deletions es/cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ El comando excluye los archivos que coinciden con los patrones de [.mintignore](
| --- | --- |
| `--check-anchors` | También validar enlaces de ancla (por ejemplo, `/page#section`) contra los slugs de encabezados. |
| `--check-external` | También verificar URLs externas en busca de enlaces rotos. |
| `--check-redirects` | También verificar que los destinos de redirección en `docs.json` apunten a rutas válidas. |
| `--check-snippets` | También verificar enlaces dentro de componentes `<Snippet>`. |

---
Expand Down
6 changes: 6 additions & 0 deletions es/create/redirects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@ Detecta enlaces rotos con la [CLI](/es/cli).
```bash
mint broken-links
```

Para verificar también que los destinos de redirección apunten a páginas válidas, usa el flag `--check-redirects`:

```bash
mint broken-links --check-redirects
```
1 change: 1 addition & 0 deletions fr/cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ La commande exclut les fichiers correspondant aux motifs [.mintignore](/fr/organ
| --- | --- |
| `--check-anchors` | Valider également les liens d'ancrage (par exemple, `/page#section`) par rapport aux slugs de titres. |
| `--check-external` | Vérifier également les URLs externes pour les liens cassés. |
| `--check-redirects` | Vérifier également que les destinations de redirection dans `docs.json` mènent à des chemins valides. |
| `--check-snippets` | Vérifier également les liens à l'intérieur des composants `<Snippet>`. |

---
Expand Down
6 changes: 6 additions & 0 deletions fr/create/redirects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,9 @@ Détectez les liens cassés avec la [CLI](/fr/cli).
```bash
mint broken-links
```

Pour vérifier également que les destinations de redirection mènent à des pages valides, utilisez le flag `--check-redirects` :

```bash
mint broken-links --check-redirects
```
1 change: 1 addition & 0 deletions zh/cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ mint broken-links [flags]
| --- | --- |
| `--check-anchors` | 同时验证锚链接(例如 `/page#section`)是否与标题 slug 匹配。 |
| `--check-external` | 同时检查外部 URL 是否有断链。 |
| `--check-redirects` | 同时检查 `docs.json` 中重定向的目标路径是否有效。 |
| `--check-snippets` | 同时检查 `<Snippet>` 组件内的链接。 |

---
Expand Down
6 changes: 6 additions & 0 deletions zh/create/redirects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@ keywords: ["redirects"]
```bash
mint broken-links
```

要同时验证重定向目标是否指向有效页面,请使用 `--check-redirects` 选项:

```bash
mint broken-links --check-redirects
```
Loading