Add autogeneration of llms.txt during mkdocs build; add docs page on using llms.txt - #1023
Merged
Conversation
Collaborator
Author
|
The doc build CI check is failing due to |
Collaborator
Author
Collaborator
Author
|
I also opened an issue here: derailed-dash/adk-docs-ext#1 so that the Gemini CLI extension for ADK docs listed on https://geminicli.com/extensions/ will continue to work given the change to |
joefernandez
approved these changes
Dec 5, 2025
joefernandez
left a comment
Collaborator
There was a problem hiding this comment.
Tested locally and reviewed. Thanks!
koverholt
added a commit
to sabrenner/google-adk-docs
that referenced
this pull request
Apr 28, 2026
…using llms.txt (google#1023) * Add mkdocs-llmstxt and related config * Remove existing llms.txt and llms-full.txt from repo * Add docs page for llms.txt * Minor edit * Minor edit * Add *.md to glob syntax in mkdocs-llmstxt config * Add explicit URLs in API reference section to avoid build warnings * Fix all build warnings related to bad cross-links and incorrect anchor links * Suppress INFO logs about absolute links - the CI link checker will catch any issues * Fix remaining build warnings * Add Gemini CLI instructions * Fix link to bidi tutorial
koverholt
added a commit
to sabrenner/google-adk-docs
that referenced
this pull request
Apr 28, 2026
…using llms.txt (google#1023) * Add mkdocs-llmstxt and related config * Remove existing llms.txt and llms-full.txt from repo * Add docs page for llms.txt * Minor edit * Minor edit * Add *.md to glob syntax in mkdocs-llmstxt config * Add explicit URLs in API reference section to avoid build warnings * Fix all build warnings related to bad cross-links and incorrect anchor links * Suppress INFO logs about absolute links - the CI link checker will catch any issues * Fix remaining build warnings * Add Gemini CLI instructions * Fix link to bidi tutorial
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.
Automates generation of
llms.txtin the docs root and adds a docs page for consuming it with AI coding tools. This PR:mkdocs-llmstxtpackage (updatedrequirements.txtandmkdocs.yml)llms.txt(with Gemini CLI, Antigravity, and general info for other clients)llms.txtandllms-full.txtfrom Git (these will now be autogenerated and served at the docs site route)After this PR is merged, the
llms.txtwill be autogenerated and available at:And
.mdfiles will be automatically generated alongside the built HTML pages for easy ingestion by LLMs / coding tools.Related issues: