Skip to content

docs: fix orphan pages, dead links and the metrics guide - #4409

Merged
vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
vvbandeira:docs-fix-orphans-and-links
Aug 10, 2026
Merged

vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
vvbandeira:docs-fix-orphans-and-links

Conversation

@vvbandeira

Copy link
Copy Markdown
Member

Metrics.md told contributors to maintain metadata-base-ok.json and rules.json. The flow keys off rules-base.json and the update targets moved to flow/util/utils.mk, so the documented workflow could not be followed.

Five pages were published but absent from toc.yml, including the contrib/CI page that OpenROAD's own contrib/CI.md links to directly.

docs/README.md pointed readers at the OpenROAD app site and at a requirements.txt this repo does not ship.

Links to index.md resolved to nothing on the published site, since conf.py excludes it and makes the generated index2.md the root doc.

Metrics.md told contributors to maintain metadata-base-ok.json and
rules.json. The flow keys off rules-base.json and the update targets
moved to flow/util/utils.mk, so the documented workflow could not be
followed.

Five pages were published but absent from toc.yml, including the
contrib/CI page that OpenROAD's own contrib/CI.md links to directly.

docs/README.md pointed readers at the OpenROAD app site and at a
requirements.txt this repo does not ship.

Links to index.md resolved to nothing on the published site, since
conf.py excludes it and makes the generated index2.md the root doc.

Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>

@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 OpenROAD-flow-scripts documentation, including revised setup instructions in the README, updated metrics and rules checking guides, corrected table of contents entries, and fixed links. The review feedback suggests improving the README by using make -C docs to maintain path consistency and mentioning the pip-tools prerequisite for pip-compile. Additionally, it notes a missing # prefix in a reference to the newly added heat maps anchor in the flow tutorial.

Comment thread docs/README.md
Comment on lines +41 to 42
cd docs
make html

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.

medium

Instead of instructing the user to change directory to docs (cd docs) for building and checking links, consider running the make commands from the repository root using the -C flag (e.g., make -C docs html and make -C docs checklinks).\n\nIf the user changes directory to docs/, several subsequent paths in the README become incorrect relative to their working directory:\n- docs/build/html/index.html (line 45) would need to be build/html/index.html\n- docs/build/output.txt (line 54) would need to be build/output.txt\n- git checkout docs/contrib/GitGuide.md (line 64) would fail because git pathspecs are relative to the current directory (it would need to be git checkout contrib/GitGuide.md)\n- rm -rf docs/build (line 65) would need to be rm -rf build\n\nUsing make -C docs keeps the user at the repository root, making all these documented paths 100% correct and consistent.

Comment thread docs/README.md
lock with:

``` shell
pip-compile --generate-hashes --output-file=docs/requirements_lock.txt docs/requirements.in

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.

medium

To run pip-compile, the user needs to have pip-tools installed. It would be helpful to mention installing pip-tools (e.g., via pip install pip-tools) before instructing them to run pip-compile.

From the top Toolbar, click on the `Windows` menu to select/hide different
view options of Scripting, Display control, etc.

(content:heat:maps)=

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.

medium

The anchor (content:heat:maps)= is defined here, but please note that the reference to it at line 2022 ([here](content:heat:maps)) is missing the # prefix. It should be updated to [here](#content:heat:maps) to resolve correctly as an internal anchor link in Sphinx/MyST.

@vvbandeira
vvbandeira merged commit 56496f3 into The-OpenROAD-Project:master Aug 10, 2026
6 of 8 checks passed
@vvbandeira
vvbandeira deleted the docs-fix-orphans-and-links branch August 10, 2026 13:31
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