Repository navigation
docs: fix orphan pages, dead links and the metrics guide - #4409
vvbandeira merged 1 commit into
Conversation
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>
There was a problem hiding this comment.
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.
| cd docs | ||
| make html |
There was a problem hiding this comment.
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.
| lock with: | ||
|
|
||
| ``` shell | ||
| pip-compile --generate-hashes --output-file=docs/requirements_lock.txt docs/requirements.in |
| From the top Toolbar, click on the `Windows` menu to select/hide different | ||
| view options of Scripting, Display control, etc. | ||
|
|
||
| (content:heat:maps)= |
There was a problem hiding this comment.
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.