Skip to content

Giant LLMs.txt#5192

Draft
Guaris wants to merge 2 commits into
mainfrom
one-large-file
Draft

Giant LLMs.txt#5192
Guaris wants to merge 2 commits into
mainfrom
one-large-file

Conversation

@Guaris
Copy link
Copy Markdown
Contributor

@Guaris Guaris commented May 12, 2026

/llms-full.txt

Copilot AI review requested due to automatic review settings May 12, 2026 00:08
@Guaris Guaris requested a review from a team as a code owner May 12, 2026 00:08
@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 68f18b3
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a033685a12f140008d815e0
😎 Deploy Preview https://deploy-preview-5192--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Guaris Guaris changed the title DO NOT MERGE DO NOT MERGE: Giant LLMs.txt May 12, 2026
@Guaris Guaris marked this pull request as draft May 12, 2026 00:08
@Guaris Guaris added the do not merge Issues/ PRs whose changes should not be merged at this time label May 12, 2026
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 an additional LLM-ingestion artifact to the Jekyll build output by concatenating all rendered documentation pages into a single file, and optimizes the per-page renderer to avoid repeated Liquid rendering.

Changes:

  • Add LlmsFullWriter (invoked from the :site, :post_write hook) to generate llms-full.txt containing all rendered pages.
  • Memoize MarkdownPage#render so multiple consumers (page writer + full writer) don’t re-render the same content.

Reviewed changes

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

File Description
app/_plugins/hooks/site_post_write.rb Introduces LlmsFullWriter and registers it in the post_write hook to emit llms-full.txt.
app/_plugins/generators/markdown_pages_generator.rb Memoizes MarkdownPage#render to prevent duplicate Liquid render work.

Comment on lines +157 to +159
> Every documentation page concatenated into a single Markdown file. Each page begins with its own YAML frontmatter block, so page boundaries are self-describing.

Use this file for RAG ingestion, fine-tuning data, large-context agents, or offline search. For a per-page index with links to individual Markdown files, see `llms.txt`.
Comment on lines +183 to +187
def pages
@pages ||= @site.config['markdown_pages_to_render']
.reject { |p| p.data['canonical?'] == false }
.sort_by(&:url)
end
Comment on lines 190 to +194
Jekyll::Hooks.register :site, :post_write do |site, _|
SupportedVersionAPI.process(site)
MarkdownPagesWriter.process(site)
LlmsTxtWriter.process(site)
LlmsFullWriter.process(site)
@Guaris Guaris changed the title DO NOT MERGE: Giant LLMs.txt Giant LLMs.txt May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Issues/ PRs whose changes should not be merged at this time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants