Skip to content

Commit cab0a8a

Browse files
docs: restore #custom-files anchor on llms-txt overview page
Co-Authored-By: Chris McDonnell <chris@buildwithfern.com>
1 parent 38f4fd4 commit cab0a8a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

fern/products/docs/pages/ai/llms-txt/overview.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ Both files are available at any level of your documentation hierarchy (`/llms.tx
2727

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

30+
## Custom files
31+
32+
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):
33+
34+
```yaml docs.yml
35+
agents:
36+
llms-txt: ./path/to/llms.txt
37+
llms-full-txt: ./path/to/llms-full.txt
38+
```
39+
40+
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.
41+
3042
## Page descriptions
3143

3244
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`.

0 commit comments

Comments
 (0)