Skip to content

fix: serve llms exports dynamically#4171

Open
voidborne-d wants to merge 2 commits intoGitbookIO:mainfrom
voidborne-d:fix/llms-routes-dynamic
Open

fix: serve llms exports dynamically#4171
voidborne-d wants to merge 2 commits intoGitbookIO:mainfrom
voidborne-d:fix/llms-routes-dynamic

Conversation

@voidborne-d
Copy link
Copy Markdown

Summary

  • switch llms.txt and llms-full.txt routes from force-static to force-dynamic
  • keep paginated llms-full.txt/:page exports dynamic as well
  • add a regression test that locks the rendering strategy for these routes

Why

Closes #3882. New pages were not appearing in /llms.txt and /llms-full.txt immediately because these routes were statically rendered. These exports are effectively live machine-readable indexes, so serving them dynamically keeps them aligned with the latest published content.

Validation

  • Added route config regression test for the llms export routes
  • I could not run the Bun test suite in this environment because bun is not preinstalled here

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 9, 2026

🦋 Changeset detected

Latest commit: 55bf0b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

New content not reflected immediately in the /llms.txt or llms-full.txt

1 participant