Skip to content

ci: generate llms.txt during docs deploy - #2302

Merged
soyuka merged 1 commit into
api-platform:mainfrom
soyuka:docs/llms-txt-ci
Jun 14, 2026
Merged

ci: generate llms.txt during docs deploy#2302
soyuka merged 1 commit into
api-platform:mainfrom
soyuka:docs/llms-txt-ci

Conversation

@soyuka

@soyuka soyuka commented Jun 13, 2026

Copy link
Copy Markdown
Member

Wires llms.txt generation into the docs deploy pipeline.

Adds a Generate llms.txt step to cd.yml running node tools/llms.mjs after the Hugo build and before the GCS rsync, so public/llms.txt and public/llms-full.txt ship with every deploy and are served at https://api-platform.com/docs/llms.txt.

The generator itself is in the companion PR api-platform/docs-website#29. It reads content/outline.yaml (current version) and emits a curated index + full-text file per the llmstxt.org convention — the agent-agnostic companion to the AGENTS.md work (skillset#1).

Runs node tools/llms.mjs after the Hugo build and before the GCS rsync, so
public/llms.txt and public/llms-full.txt ship with every docs deploy. The
generator lives in api-platform/docs-website (api-platform#29).
@soyuka
soyuka merged commit c3cf58f into api-platform:main Jun 14, 2026
3 checks passed
@soyuka
soyuka deleted the docs/llms-txt-ci branch June 14, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant