From 1dda3a33004c8c1269e65667292fb7d825b38121 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 24 Feb 2026 01:19:18 +0000 Subject: [PATCH] Document OpenAPI spec inclusion in llms.txt Generated-By: mintlify-agent --- ai/llmstxt.mdx | 2 +- es/ai/llmstxt.mdx | 2 +- fr/ai/llmstxt.mdx | 2 +- zh/ai/llmstxt.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ai/llmstxt.mdx b/ai/llmstxt.mdx index d1dbdccdd..920742bbd 100644 --- a/ai/llmstxt.mdx +++ b/ai/llmstxt.mdx @@ -27,7 +27,7 @@ An `llms.txt` file is a plain Markdown file that contains: Pages are listed alphabetically in the order they appear in your repository, starting from the root directory. -Each page's description comes from the `description` field in its frontmatter. Pages without a `description` field appear in the `llms.txt` file without a description. +Each page's description comes from the `description` field in its frontmatter. For API reference pages, the description also includes the OpenAPI specification information from the `openapi` or `api` frontmatter field. Pages without a `description` field appear in the `llms.txt` file without a description. ```mdx Example llms.txt # Site title diff --git a/es/ai/llmstxt.mdx b/es/ai/llmstxt.mdx index 15285f244..3113b6d1a 100644 --- a/es/ai/llmstxt.mdx +++ b/es/ai/llmstxt.mdx @@ -30,7 +30,7 @@ Un archivo `llms.txt` es un archivo Markdown sin formato que contiene: Las páginas se listan alfabéticamente en el orden en que aparecen en tu repositorio, comenzando desde el directorio raíz. -La descripción de cada página proviene del campo `description` en su frontmatter. Las páginas sin el campo `description` aparecen en el archivo `llms.txt` sin descripción. +La descripción de cada página proviene del campo `description` en su frontmatter. Para las páginas de referencia de API, la descripción también incluye la información de la especificación OpenAPI del campo `openapi` o `api` del frontmatter. Las páginas sin el campo `description` aparecen en el archivo `llms.txt` sin descripción. ```mdx Example llms.txt # Título del sitio diff --git a/fr/ai/llmstxt.mdx b/fr/ai/llmstxt.mdx index f4de1bc85..131344c90 100644 --- a/fr/ai/llmstxt.mdx +++ b/fr/ai/llmstxt.mdx @@ -30,7 +30,7 @@ Un fichier `llms.txt` est un simple fichier Markdown qui contient : Les pages sont classées par ordre alphabétique selon leur emplacement dans votre référentiel, en commençant au répertoire racine. -La description de chaque page provient du champ `description` de son frontmatter. Les pages sans champ `description` apparaissent dans le fichier `llms.txt` sans description. +La description de chaque page provient du champ `description` de son frontmatter. Pour les pages de référence API, la description inclut également les informations de spécification OpenAPI provenant du champ `openapi` ou `api` du frontmatter. Les pages sans champ `description` apparaissent dans le fichier `llms.txt` sans description. ```mdx Example llms.txt # Titre du site diff --git a/zh/ai/llmstxt.mdx b/zh/ai/llmstxt.mdx index 1649ff0e1..bfc61bb6f 100644 --- a/zh/ai/llmstxt.mdx +++ b/zh/ai/llmstxt.mdx @@ -30,7 +30,7 @@ Mintlify 会在项目根目录自动托管一个 `llms.txt` 文件,列出文 页面按在存储库中的位置以字母顺序列出,从根目录开始。 -每个页面的说明来自其 frontmatter 中的 `description` 字段。没有 `description` 字段的页面将在 `llms.txt` 中显示,但不含说明。 +每个页面的说明来自其 frontmatter 中的 `description` 字段。对于 API 参考页面,说明还包含来自 `openapi` 或 `api` frontmatter 字段的 OpenAPI 规范信息。没有 `description` 字段的页面将在 `llms.txt` 中显示,但不含说明。 ```mdx Example llms.txt # 站点标题