Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

<ParamField path="lang" type="'node' | 'python' | 'java' | 'ruby' | 'go' | 'csharp' | 'swift'">
Expand All @@ -102,6 +103,10 @@ Filter `llms.txt` output with the `lang` and `excludeSpec` query parameters to r
Exclude OpenAPI and AsyncAPI specification sections.
</ParamField>

<ParamField path="excludeChangelog" type="boolean">
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.
</ParamField>

## 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).
Expand Down
Loading