Skip to content

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

Merged
vvbandeira merged 2 commits into
The-OpenROAD-Project:masterfrom
luarss:llms-txt
Jun 8, 2026
Merged

docs: add sphinx-llm to generate llms.txt and llms-full.txt#4279
vvbandeira merged 2 commits into
The-OpenROAD-Project:masterfrom
luarss:llms-txt

Conversation

@luarss

@luarss luarss commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

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

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

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

Copy link
Copy Markdown
Contributor

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.

@luarss

luarss commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

@vvbandeira

Copy link
Copy Markdown
Member

@luarss some conflicts need resolution

@luarss

luarss commented Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

ignore-

luarss added 2 commits June 6, 2026 13:52
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>
sphinx-llm was missing from requirements_lock.txt, causing the RTD
build to fail. Revert python version to 3.10 to match the lock file
generator and recompile to include sphinx-llm==0.4.1.

Signed-off-by: Jack Luar <jluar@precisioninno.com>
@luarss luarss requested a review from vvbandeira June 6, 2026 13:55
@vvbandeira vvbandeira merged commit 8abc6a9 into The-OpenROAD-Project:master Jun 8, 2026
8 checks passed
@luarss luarss deleted the llms-txt branch June 9, 2026 00:15
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.

2 participants