From b18daf5f377a3e072ddfd9d7dc619e96964161c7 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 16:17:46 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Add=20excludeChangelog=20query=20parameter?= =?UTF-8?q?=20to=20llms.txt=20Filter=20endpoint=20output=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../products/docs/pages/ai/llms-txt/customize-llms-txt.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fern/products/docs/pages/ai/llms-txt/customize-llms-txt.mdx b/fern/products/docs/pages/ai/llms-txt/customize-llms-txt.mdx index d398ede688..c8e11350f0 100644 --- a/fern/products/docs/pages/ai/llms-txt/customize-llms-txt.mdx +++ b/fern/products/docs/pages/ai/llms-txt/customize-llms-txt.mdx @@ -91,7 +91,8 @@ Filter `llms.txt` output with the `lang` and `excludeSpec` query parameters to r ```txt Example /llms.txt?lang=python /llms.txt?excludeSpec=true -/llms.txt?lang=python&excludeSpec=true +/llms.txt?excludeChangelog=true +/llms.txt?lang=python&excludeSpec=true&excludeChangelog=true ``` @@ -102,6 +103,10 @@ Filter `llms.txt` output with the `lang` and `excludeSpec` query parameters to r Exclude OpenAPI and AsyncAPI specification sections. + + Exclude changelog sections from the `llms.txt` index. Useful for reducing index size on sites with long release histories, since changelog entries are typically low-value for AI agents. + + ## Exclude whole pages You can exclude whole pages from LLM endpoints (`llms.txt`) by [adding `noindex: true`](/learn/docs/seo/setting-seo-metadata#noindex) to the page's frontmatter. Pages marked `noindex` aren't indexed by search engines but remain visible in your sidebar navigation and can still be accessed directly by URL. To also hide a page from navigation, see [Hiding content](/learn/docs/customization/hiding-content). From fd418dc7e8752593ce8bbf5a1ccbc88868ca7aa1 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 17:06:44 +0000 Subject: [PATCH 2/2] Add changelog entry and cross-reference for excludeChangelog llms.txt parameter Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../docs/pages/ai/llms-txt/analytics-integration.mdx | 2 +- .../products/docs/pages/ai/llms-txt/customize-llms-txt.mdx | 4 ++-- fern/products/docs/pages/changelog/2026-09-18.mdx | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 fern/products/docs/pages/changelog/2026-09-18.mdx diff --git a/fern/products/docs/pages/ai/llms-txt/analytics-integration.mdx b/fern/products/docs/pages/ai/llms-txt/analytics-integration.mdx index 63ed9381a6..71a6b652f2 100644 --- a/fern/products/docs/pages/ai/llms-txt/analytics-integration.mdx +++ b/fern/products/docs/pages/ai/llms-txt/analytics-integration.mdx @@ -17,7 +17,7 @@ To make endpoints discoverable to human readers, add buttons or navigation links -Add a button to your SDK docs that links to `llms.txt` for your API Reference. Use `lang` to filter code examples to one language, and `excludeSpec=true` to exclude the raw OpenAPI specification. +Add a button to your SDK docs that links to `llms.txt` for your API Reference. Use `lang` to filter code examples to one language, `excludeSpec=true` to exclude the raw OpenAPI specification, and `excludeChangelog=true` to exclude changelog sections. ```jsx Markdown