-
Notifications
You must be signed in to change notification settings - Fork 63
support output llms.txt #267
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
Conversation
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.
Pull request overview
This PR adds support for generating llms.txt output format from the TiDB Development Guide mdBook, enabling the guide's content to be consumed by LLMs.
- Configures mdBook to output llms.txt formats in book.toml
- Switches from pre-built mdBook action to cargo install for required plugins
- Adds a new presubmit workflow to validate builds on pull requests
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| book.toml | Adds configuration for llms-txt and llms-text-full output plugins |
| .github/workflows/publish.yml | Changes mdBook setup to cargo install to include llms-txt-tools plugin |
| .github/workflows/presubmit.yml | Adds new presubmit workflow to test builds on pull requests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/hold |
10cffeb to
eece3ce
Compare
Signed-off-by: Weizhen Wang <[email protected]>
42dac9f to
f55d7f1
Compare
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.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Weizhen Wang <[email protected]>
What issue does this PR solve?
What is changed:
Supporting llms.txt can provide the content of the guide entirely to the LLM.
demo: https://hawkingrei.github.io/tidb-dev-guide/llms.txt
https://hawkingrei.github.io/tidb-dev-guide/llms-full.txt