Skip to content

Commit 7b55006

Browse files
committed
feat: publish llms.txt and llms-full.txt for AI agents
Turns on MkDocs NG's built-in llms_txt plugin. It writes llms.txt at the site root, linking the Markdown copy of every page by nav section, and llms-full.txt with all pages in one file. Sumi already announces llms.txt in each page's head once the file exists.
1 parent 971fe23 commit 7b55006

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎mkdocs.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ markdown_extensions:
9393

9494
plugins:
9595
- search
96+
# llms.txt at the site root, listing the Markdown copy of every page, and
97+
# llms-full.txt with all of them in one file, for agents that read the docs.
98+
# Built from the pages, so nothing to keep up to date by hand.
99+
- llms_txt:
100+
full_output: true
96101
# Sumi's plugin: components, the blog (index, tags, Atom feed) under
97102
# docs/blog/, and a Markdown copy of each page.
98103
- sumi

0 commit comments

Comments
 (0)