Dev-iL opened a new pull request, #1482: URL: https://github.com/apache/hamilton/pull/1482
Add the sphinx-llms-txt extension to Hamilton's Sphinx documentation build. This auto-generates `llms.txt` (a compact index) and `llms-full.txt` (complete docs in one Markdown file) [llms-txt](https://llmstxt.org/) on every documentation deploy. The plugin supports code file inclusion, custom summaries, and size limits. [Readthedocs](https://sphinx-llms-txt.readthedocs.io/en/latest/advanced-configuration.html) Since Hamilton already uses Sphinx + MyST on Read the Docs, integration requires only adding the extension to conf.py and configuring sections. This gives every LLM provider access to current, version-specific Hamilton documentation through a standardized URL. ## Changes - Add `sphinx-llms-txt` to pyproject.toml and `docs/conf.py` - Remove [outdated](https://blog.readthedocs.com/defaulting-latest-build-tools/) sphinx dependency pins ## How I tested this Built the docs locally. ## Notes ## Checklist - [x] PR has an informative and human-readable title (this will be pulled into the release notes) - [x] Changes are limited to a single goal (no scope creep) - [x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered. - [x] Any _change_ in functionality is tested - [x] New functions are documented (with a description, list of inputs, and expected output) - [x] Placeholder code is flagged / future TODOs are captured in comments - [x] Project documentation has been updated if adding/changing functionality. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
