Skip to content

Commit f342ad9

Browse files
committed
add llms-full.txt
1 parent 8fd0a39 commit f342ad9

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

ai/llmstxt.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,16 @@ An `llms.txt` file is a plain Markdown file that contains:
3434

3535
This structured approach allows LLMs to efficiently process your documentation at a high level and locate relevant content for user queries, improving the accuracy and speed of AI-assisted documentation searches.
3636

37-
## Custom llms.txt
38-
39-
To add a custom `llms.txt` file, create an `llms.txt` file at the root of your project. Adding an `llms.txt` file will override the automatically generated file. If you delete a custom `llms.txt` file, the default `llms.txt` file will be used again.
40-
41-
Your custom `llms.txt` file must have a site title as an H1 heading. Other content is optional. See [Format](https://llmstxt.org/#format) in the `llms.txt` specification for more information on optional sections and best practices.
42-
4337
## llms-full.txt
4438

45-
The `llms-full.txt` file combines your entire documentation site into a single file as context for AI tools and is indexed by LLM traffic. Users can paste a single URL as context for AI tools for more relevant and accurate responses.
39+
The `llms-full.txt` file combines your entire documentation site into a single file as context for AI tools and is indexed by LLM traffic.
4640

4741
Mintlify automatically hosts an `llms-full.txt` file at the root of your project. View your `llms-full.txt` by appending `/llms-full.txt` to your documentation site's URL.
4842

49-
<PreviewButton href="https://mintlify.com/docs/llms-full.txt">Open the llms-full.txt for this site</PreviewButton>
43+
<PreviewButton href="https://mintlify.com/docs/llms-full.txt">Open the llms-full.txt for this site.</PreviewButton>
44+
45+
## Custom files
46+
47+
To add a custom `llms.txt` or `llms-full.txt` file, create an `llms.txt` or `llms-full.txt` file at the root of your project. Adding a custom file will override the automatically generated file of the same name. If you delete a custom file, the default file will be used again.
5048

51-
Your site's `llms-full.txt` is always up to date and requires zero maintenance.
49+
Your custom `llms.txt` or `llms-full.txt` file must have a site title as an H1 heading. Other content is optional. See [Format](https://llmstxt.org/#format) in the `llms.txt` specification for more information on optional sections and best practices.

0 commit comments

Comments
 (0)