Skip to content

Adds llms.txt to website#9318

Merged
PascalSenn merged 3 commits intomainfrom
pse/adds-llms-txt
Mar 8, 2026
Merged

Adds llms.txt to website#9318
PascalSenn merged 3 commits intomainfrom
pse/adds-llms-txt

Conversation

@PascalSenn
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 6, 2026 23:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automated generation of llms.txt and llms-full.txt as part of the website build output, using the existing docs/blog content sources.

Changes:

  • Introduces website/lib/llms-txt-generator.ts to assemble a docs index (llms.txt) and a full-content bundle (llms-full.txt).
  • Adds website/scripts/generate-llms-txt.ts to write both files into the out/ directory after export.
  • Updates website/package.json to run the generator automatically after next build.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
website/lib/llms-txt-generator.ts Generates markdown content for llms.txt and llms-full.txt from docs config + blog posts.
website/scripts/generate-llms-txt.ts Build-time script that writes generated outputs into website/out/.
website/package.json Extends build script to run the generator after the Next export build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/lib/llms-txt-generator.ts
Comment thread website/lib/llms-txt-generator.ts Outdated
Comment thread website/lib/llms-txt-generator.ts
Copy link
Copy Markdown
Member

@rstaib rstaib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PascalSenn PascalSenn merged commit 45b1fb0 into main Mar 8, 2026
11 checks passed
@PascalSenn PascalSenn deleted the pse/adds-llms-txt branch March 8, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants