Skip to content
Closed
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
12 changes: 12 additions & 0 deletions fern/products/docs/pages/ai/llms-txt/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ Both files are available at any level of your documentation hierarchy (`/llms.tx

Examples: [Eleven Labs llms.txt](https://elevenlabs.io/docs/llms.txt), [Cash App llms-full.txt](https://developers.cash.app/llms-full.txt).

## Custom files

To serve your own `llms.txt` or `llms-full.txt` instead of the auto-generated versions, point to your files under the [`agents` key in `docs.yml`](/learn/docs/configuration/site-level-settings#agents-configuration):

```yaml docs.yml
agents:
llms-txt: ./path/to/llms.txt
llms-full-txt: ./path/to/llms-full.txt
```

Custom files are served at the root-level `/llms.txt` and `/llms-full.txt` endpoints. Any file you don't specify falls back to the auto-generated version. See [Serve custom files](/learn/docs/ai-features/customize-llm-output#serve-custom-files) for the full reference.

## Page descriptions

Both files include page descriptions pulled from [frontmatter](/learn/docs/configuration/page-level-settings). Fern uses the `description` field if present, otherwise falls back to `subtitle`.
Expand Down
Loading