From 2edebedc561c6f5c4fd9fc16bb14aa101e57a92d Mon Sep 17 00:00:00 2001 From: Nik Richers Date: Thu, 14 May 2026 09:24:18 -0700 Subject: [PATCH] Copy AGENTS.md into the root of the GFM output folder (#1326) --- site/llm/render.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/llm/render.sh b/site/llm/render.sh index 78f690302f..6c05ae0d99 100755 --- a/site/llm/render.sh +++ b/site/llm/render.sh @@ -51,6 +51,12 @@ EOF echo "=== Rendering site to GFM markdown ===" quarto render --to gfm +# AGENTS.md lives at the repo root so IDE/agent tooling finds it there, but it +# must also reach the LLM output so the docs chatbot can ingest it. +echo "" +echo "=== Copying AGENTS.md from repo root into LLM output ===" +cp ../AGENTS.md llm/_llm-output/AGENTS.md + echo "" echo "=== Post-processing markdown files ===" bash llm/clean.sh