Combine llms.txt generation with website data generation#652
Merged
aaronpowell merged 2 commits intomainfrom Feb 3, 2026
Merged
Combine llms.txt generation with website data generation#652aaronpowell merged 2 commits intomainfrom
aaronpowell merged 2 commits intomainfrom
Conversation
- 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
Contributor
There was a problem hiding this comment.
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.mjsfile andllms:generatenpm script - Simplified the
website:buildpipeline 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 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR consolidates the llms.txt generation into the website data generation step.
Changes
generate-website-data.mjsgenerate-llms-txt.mjsscriptllms:generatenpm scriptwebsite/public/data/alongside other generated filesBenefits
website:build