OpenROAD-flow-scripts Documentation
This is the source for the OpenROAD-flow-scripts (ORFS) documentation, published at https://openroad-flow-scripts.readthedocs.io/en/latest/.
The documentation for the OpenROAD application itself lives in a different repository and is published at https://openroad.readthedocs.io/en/latest/.
Build locally
Requires
- Python 3.10 — the version Read the Docs builds with (see
.readthedocs.yaml). The pinned Sphinx release does not run on Python 3.13 or newer. pipvirtualenv(or the standard-libraryvenv)
Install prerequisites
Run from the repository root:
virtualenv .venv
source .venv/bin/activate
pip install -r docs/requirements_lock.txt
docs/requirements_lock.txt is the hash-pinned lock file that Read the Docs
installs, so a local build matches the published one. The direct dependencies
are listed in docs/requirements.in; after editing that file, regenerate the
lock with:
pip-compile --generate-hashes --output-file=docs/requirements_lock.txt docs/requirements.in
Build
cd docs
make html
The generated site is in docs/build/html; open docs/build/html/index.html.
Check for broken links
cd docs
make checklinks
The report is written to docs/build/output.txt (and docs/build/output.json).
It exits non-zero when any link is unreachable.
Notes
- The build needs network access:
docs/conf.pydownloads three files from the OpenROAD repository at build time. - Building writes generated pages into the source tree:
index2.md,SupportedOS.md,Manpage.md,mainREADME.md, and — because it is fetched rather than authored here — the tracked filecontrib/GitGuide.md. Do not commit those changes;git checkout docs/contrib/GitGuide.mdafter a build. - Always
rm -rf docs/buildbefore rebuilding. The output directory isbuild/, butconf.py'sexclude_patternsonly excludes_build, so a second run picks up the Markdown files written underbuild/html/as if they were source pages.