-
-
Notifications
You must be signed in to change notification settings - Fork 364
Enhanced llms.txt support #834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for hugo-hextra ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
32a5c0c to
d823900
Compare
|
I believe it’s possible to disable llmstxt on a per-page basis using: Would it also make sense to add documentation for the new Markdown output format? |
I don't filter content but this implementation differs from current as it doesn't add "Root" pages and level 2 sections
If this part of implementation is ok for you I can add it PS : I've added it in a dedicated commit. For |
imfing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have a few questions. in addtion, given that we are adding param for "optional" content, would it make sense to also support exclude a page / section from llms.txt?
for example:
params:
llmstxt:
optional: true # default `false`
exclude: true # default `false`a9bd96e to
46ad9ee
Compare
|
I've removed the title alphabetical sort and "Optional" section when there is no optional content |
46ad9ee to
c3381f8
Compare
Yep, for example you maybe want to exclude blog from such listing to focus on core documentation (it's why there is an optional section at the beginning, to list useful but not mandatory documents). I've also added an exclude parameter working on a per page/section basis (you can exclude a full section or only a single page). |
This PR adds some features to llms.txt support, to better follow proposal spec:
llmsTxtOptional: truein content front matter)I only link 1st level sections, ordered alphabetically, but feel free to use different rules