Skip to content

Commit e753c45

Browse files
committed
add better examples, update title, small restructures
1 parent 62b717c commit e753c45

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

fern/products/docs/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ navigation:
194194
path: ./pages/seo/redirects.mdx
195195
- page: llms.txt
196196
path: ./pages/seo/llms-txt.mdx
197+
slug: llms-txt
197198
- section: Authentication
198199
collapsed: true
199200
contents:
Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
---
2-
title: llms.txt
2+
title: llms.txt and llms-full.txt
33
description: Enable tools like Cursor, GitHub Copilot, ChatGPT, and Claude to understand your documentation.
44
---
55

6-
[llms.txt](https://llmstxt.org/) is a standard for exposing website content to AI developer tools. Fern automatically generates and maintains `llms.txt` and `llms-full.txt` files for your documentation site.
7-
8-
## `llms.txt`
9-
10-
Contains a lightweight summary of your documentation site with each page distilled into a one-sentence description and URL. The format is structured to help AI tools parse and understand your documentation's hierarchy and organization.
11-
12-
`llms.txt` is available at any level of your documentation hierarchy (e.g., `/llms.txt`, `/docs/llms.txt`, `/v1/api-reference/llms.txt`).
13-
14-
When Fern detects an LLM bot accessing your documentation, it automatically serves Markdown instead of HTML, reducing token consumption by 90%+.
15-
16-
See an example: [docs.cohere.com/llms.txt](https://docs.cohere.com/llms.txt)
6+
[llms.txt](https://llmstxt.org/) is a standard for exposing website content to AI developer tools. Fern automatically generates and maintains `llms.txt` and `llms-full.txt` files for your documentation site. When Fern detects an LLM bot accessing your documentation, it automatically serves Markdown instead of HTML, reducing token consumption by 90%+.
177

188
<Frame>
199
<img
@@ -23,25 +13,28 @@ See an example: [docs.cohere.com/llms.txt](https://docs.cohere.com/llms.txt)
2313
/>
2414
</Frame>
2515

26-
## `llms-full.txt`
16+
## `llms.txt`
2717

28-
Contains complete documentation content including the full text of all pages. For API documentation, this includes your complete API Reference with resolved OpenAPI specifications and SDK code examples for enabled languages. Each API endpoint page includes its full OpenAPI spec.
18+
Contains a lightweight summary of your documentation site with each page distilled into a one-sentence description and URL. The format is structured to help AI tools parse and understand your documentation's hierarchy and organization.
2919

30-
`llms-full.txt` is available only at the root of your documentation site.
20+
`llms.txt` is available at any level of your documentation hierarchy (e.g., `/llms.txt`, `/docs/llms.txt`, `/v1/api-reference/llms.txt`).
3121

32-
See an example: [elevenlabs.io/docs/llms-full.txt](https://elevenlabs.io/docs/llms-full.txt)
22+
Examples from Eleven Labs:
23+
- Developer documentation: [elevenlabs.io/docs/llms.txt](https://elevenlabs.io/docs/llms.txt)
24+
- API Reference (Create speech endpoint): [elevenlabs.io/docs/api-reference/text-to-speech/convert/llms.txt](https://elevenlabs.io/docs/api-reference/text-to-speech/convert/llms.txt)
3325

34-
### Examples
26+
## `llms-full.txt`
27+
28+
Contains complete documentation content including the full text of all pages. For API documentation, this includes your complete API Reference with resolved OpenAPI specifications and SDK code examples for enabled languages. Each API endpoint page includes its full OpenAPI spec.
3529

36-
View the `llms.txt` files for this site:
30+
`llms-full.txt` is available only at the root of your documentation site.
3731

38-
- [https://buildwithfern.com/learn/llms.txt](https://buildwithfern.com/learn/llms.txt)
39-
- [https://buildwithfern.com/learn/llms-full.txt](https://buildwithfern.com/learn/llms-full.txt)
32+
Example from Cash App: [developers.cash.app/llms-full.txt](https://developers.cash.app/llms-full.txt)
4033

4134
## Analytics and monitoring
4235

4336
The [Fern Dashboard](https://dashboard.buildwithfern.com/) provides comprehensive analytics for `llms.txt` usage including:
4437
- Traffic by LLM provider (Claude, ChatGPT, Cursor, etc.)
45-
- Page-level breakdowns of bot vs. human visitors for `.md` and `llms.txt` files
38+
- Page-level breakdowns of bot vs. human visitors for Markdown and `llms.txt` files
4639

4740
This visibility helps you understand LLM traffic patterns and optimize your documentation for AI consumption.

0 commit comments

Comments
 (0)