-
Notifications
You must be signed in to change notification settings - Fork 834
feat: Auto-generate table of contents in llms.txt from toc.yml #21844
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
Co-authored-by: jeromelaban <[email protected]>
|
|
Co-authored-by: jeromelaban <[email protected]>
|
|
|
@copilot The llms.txt in the repo should only contain the base content (by removing the Here are the steps:
|
- Trim llms.txt in repo to only base content (no Docs section) - Script now generates both files in single run - llms.txt = base content + TOC with raw GitHub URLs (no actual docs) - llms-full.txt = llms.txt content + TOC with xref anchors + all docs - Updated script parameters and README documentation Co-authored-by: jeromelaban <[email protected]>
Done in commit 61684d9. Changes made:
The generated |
|
@copilot Here's a build error: |
- Add blank lines around lists (MD032) - Change asterisks to dashes for list items (MD004) Co-authored-by: jeromelaban <[email protected]>
|
@copilot The generation failed in CI with: |
- Update Uno.UI.Build.csproj to use new parameter names for generate-llms-full.ps1 - Replace -OutputFile and -Llmstxt with -LlmsTxtOutput, -LlmsFullTxtOutput, -BaseContentFile, -TocYmlPath Co-authored-by: jeromelaban <[email protected]>
Fixed in commit 8c4501a. Updated the build script command to use the new parameter names:
The build now correctly calls the script with all required parameters. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21844/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21844/docs/index.html |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21844/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21844/wasm-skia-net9/index.html |
|
The build 183153 found UI Test snapshots differences: Details
|
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 3 comments.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21844/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21844/docs/index.html |
|
@copilot The llms.txt and llms-full.txt files are not generated at the right place, it should be in |
- Changed output paths back to articles/llms/llms.txt and articles/llms/llms-full.txt - Updated README to clarify that script reads base content before overwriting - Ensures generated files are in the correct location for documentation build Co-authored-by: jeromelaban <[email protected]>
Fixed in commit 8d57c6eb. The output paths are now correctly set to |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21844/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21844/docs/index.html |
|
The build 183236 found UI Test snapshots differences: Details
|
|
@Mergifyio backport release/stable/6.4 |
✅ Backports have been createdDetails
|
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.