Skip to content

docs: add sphinx-llm to generate llms.txt and llms-full.txt#4279

Open
luarss wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
luarss:llms-txt
Open

docs: add sphinx-llm to generate llms.txt and llms-full.txt#4279
luarss wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
luarss:llms-txt

Conversation

@luarss
Copy link
Copy Markdown
Contributor

@luarss luarss commented Jun 5, 2026

Summary

Add support for llms.txt and llms-full.txt to the ReadTheDocs documentation site using the sphinx-llm extension. These files follow the llmstxt.org standard and make OpenROAD-flow-scripts documentation directly consumable by LLMs without HTML scraping.

Mirrors The-OpenROAD-Project/OpenROAD#10598.

Changes

  • docs/conf.py: add sphinx_llm.txt to the Sphinx extensions list — the extension generates both files as a native build step, writing directly into the HTML output
  • docs/requirements.txt: add sphinx-llm
  • .readthedocs.yaml: bump Python 3.7 (EOL) → 3.11

Once merged and built, files will be served at:

  • https://openroad-flow-scripts.readthedocs.io/llms.txt
  • https://openroad-flow-scripts.readthedocs.io/llms-full.txt

Test plan

  • ReadTheDocs build succeeds with sphinx-llm installed on Python 3.11
  • llms.txt is accessible at the root of the ReadTheDocs site after build

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Python version to 3.11 in the ReadTheDocs configuration, adds the sphinx-llm dependency to the documentation requirements, and includes sphinx_llm.txt in the Sphinx extensions list. There are no review comments to evaluate, and I have no additional feedback to provide.

Mirrors The-OpenROAD-Project/OpenROAD#10598. Adds sphinx-llm extension
to Sphinx config and requirements, bumps Python to 3.11 in readthedocs.

Signed-off-by: Jack Luar <jluar@precisioninno.com>
@luarss
Copy link
Copy Markdown
Contributor Author

luarss commented Jun 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant