feat: give assistants each page as markdown

The build writes <page>/index.md beside each page, named in its head,
and llms-full.txt. llms.txt and the setup skill say how to answer from
the site, not from memory, and the setup_bios_files WebMCP tool gives a
setup's folder and exact file names from the picker data.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 06:04:42 +01:00
1 parent ab9fe76de2
commit a7a27028ab
8 files changed
+493 -2

No files matched your search

+5
View File
@@ -73,12 +73,17 @@ class DeploySiteTriggers(unittest.TestCase):
run = "\n".join(
step.get("run", "") for job in workflow["jobs"].values() for step in job["steps"]
)
# The Astro build runs scripts of its own (site_markdown.py writes
# each page's Markdown once the pages are built): they are the
# build's entry points as much as a workflow step's.
astro = (REPO_ROOT / "website" / "astro.config.mjs").read_text(encoding="utf-8")
entry_points = sorted(
{
word.removeprefix("scripts/")
for word in run.split()
if word.startswith("scripts/") and word.endswith(".py")
}
| set(re.findall(r"\.\./scripts/([\w]+\.py)", astro))
)
self.assertIn("generate_site.py", entry_points)
# The Starlight project is an input of its own build.