From 7b55006393c533740b2b220297056af8574993ba Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:52:54 +0000 Subject: [PATCH] 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. --- mkdocs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 63f041b..0c69822 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -93,6 +93,11 @@ markdown_extensions: plugins: - search + # llms.txt at the site root, listing the Markdown copy of every page, and + # llms-full.txt with all of them in one file, for agents that read the docs. + # Built from the pages, so nothing to keep up to date by hand. + - llms_txt: + full_output: true # Sumi's plugin: components, the blog (index, tags, Atom feed) under # docs/blog/, and a Markdown copy of each page. - sumi