Skip to content

Add llms.txt - #2473

Open
fireboy1919 wants to merge 1 commit into
graphql:sourcefrom
fireboy1919:add-llms-txt
Open

Add llms.txt#2473
fireboy1919 wants to merge 1 commit into
graphql:sourcefrom
fireboy1919:add-llms-txt

Conversation

@fireboy1919

Copy link
Copy Markdown

Description

Adds a statically generated /llms.txt endpoint for GraphQL.org.

  • Follows the llms.txt navigation format with canonical absolute URLs
  • Reuses the existing Learn page metadata so all Learn pages stay in sync
  • Includes curated specification, implementation, resource, governance, community, and optional links
  • Prerenders the route during the normal Next.js/Vercel build without a crawler or additional dependency
  • Adds tests for the response, Learn page coverage, and canonical routes

Testing

  • corepack pnpm exec node --import=tsx --test src/app/llms.txt/route.test.tsx
  • corepack pnpm exec eslint --ignore-path .gitignore src/app/llms.txt
  • corepack pnpm exec prettier --check src/app/llms.txt/route.ts src/app/llms.txt/render-llms-txt.ts src/app/llms.txt/route.test.tsx
  • corepack pnpm exec tsc --noEmit
  • corepack pnpm build (confirmed /llms.txt is prerendered as static content)

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 29, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: fireboy1919 / name: Rusty Phillips (3e4a85e)

@fireboy1919

Copy link
Copy Markdown
Author

This seemed like the most natural way to do this with the existing site design since someone is already organizing the learning section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant