Llms txt for website#1874
Merged
Merged
Conversation
koperagen
approved these changes
May 27, 2026
Collaborator
Author
|
While I could test the script works locally, I cannot check it works well with gh actions yes. I will merge and try :) |
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.
Follow up for #1615 and related to #1258.
Required for: Kotlin/kotlin-agent-skills#48
Enables
llms-txtin WriterSide. This generates a txt file for each topic in the Writerside_llmsfolder.It also generates an
llms.txtfile containing everything in one file.However, this is probably too large for most LLMs to parse, so similar to how kotlinlang.org uses a script to
create an index-like llms.txt https://github.com/JetBrains/kotlin-web-site/blob/master/scripts/llms/generate-llms-index.mjs
I (and Junie) did a similar thing.
Using
scripts/llms/generate-llms-index.mjs, our GitHub action now renames the bigllms.txtfile tollms-full.txtand generates a new
llms.txtserving as a table-of-contents for all generated llm files.For example:
llms.txt
llms-full.txt
_llms/add.txt
...