Skip to content

Combine llms.txt generation with website data generation#652

Merged
aaronpowell merged 2 commits intomainfrom
combine-llms-txt-generation
Feb 3, 2026
Merged

Combine llms.txt generation with website data generation#652
aaronpowell merged 2 commits intomainfrom
combine-llms-txt-generation

Conversation

@aaronpowell
Copy link
Copy Markdown
Contributor

This PR consolidates the llms.txt generation into the website data generation step.

Changes

  • Moved llms.txt generation logic into generate-website-data.mjs
  • Removed standalone generate-llms-txt.mjs script
  • Removed llms:generate npm script
  • llms.txt now outputs to website/public/data/ alongside other generated files

Benefits

  • Single source of truth for resource metadata extraction
  • Fewer build steps in website:build
  • llms.txt is now part of the website release artifacts

- Move llms.txt generation into generate-website-data.mjs
- Remove standalone generate-llms-txt.mjs script
- Remove llms:generate npm script
- llms.txt now outputs to website/public/data/ alongside other generated files
Copilot AI review requested due to automatic review settings February 3, 2026 03:30
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

This PR consolidates the llms.txt generation process by integrating it into the existing website data generation pipeline, eliminating a redundant build step and ensuring consistency in how resource metadata is extracted.

Changes:

  • Moved llms.txt generation logic from standalone script into generate-website-data.mjs
  • Removed the eng/generate-llms-txt.mjs file and llms:generate npm script
  • Simplified the website:build pipeline by removing the separate llms.txt generation step

Reviewed changes

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

File Description
package.json Removed llms:generate script and simplified website:build to rely on integrated llms.txt generation
eng/generate-website-data.mjs Added generateLlmsTxt() function and integrated it into the main data generation flow
eng/generate-llms-txt.mjs Deleted standalone script as functionality moved to generate-website-data.mjs

Comment thread eng/generate-website-data.mjs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell merged commit 42f5dc9 into main Feb 3, 2026
8 checks passed
@aaronpowell aaronpowell deleted the combine-llms-txt-generation branch February 3, 2026 03:39
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.

2 participants