Add markdown button and make llms.txt available - #101
Open
neon60 wants to merge 1 commit into
Open
Conversation
adeljo-amd
approved these changes
May 21, 2026
j-stephan
approved these changes
May 21, 2026
Enable llms.txt and llms-full.txt generation from the resolved doctree via rocm_docs_generate_llms, and add the per-page Markdown download button. Bump rocm-docs-core to 1.38.0 with the llms extra. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
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.
Motivation
Enable llms.txt / llms-full.txt generation for the AMD GPU Driver (amdgpu) docs, so the site publishes machine-readable documentation following the llms.txt standard (https://llmstxt.org/). This aligns the project with the shared approach used across the Instinct documentation set (k8s-device-plugin, container-toolkit, gpu-cluster-networking, instinct-docs), using the built-in support in rocm-docs-core.
Technical Details
Uses rocm-docs-core 1.38.0 rather than the latest 1.39.0: the published 1.39.0 wheel ships a malformed projects.yaml that breaks the build (already fixed upstream on develop, pending a patch release).
Test Plan
Test Result
Build succeeds (build succeeded, 47 warnings) and logs Wrote llms.txt and llms-full.txt. Generated llms.txt (3 KB) has the correct # AMD GPU Driver (amdgpu) header and indexes all pages; llms-full.txt (114 KB) has correct per-page sections with prose filtering. The 47 warnings are pre-existing, unrelated to this change.
Submission Checklist