Repository navigation
docs: fix orphan pages, dead links and the metrics guide #4409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,68 @@ | ||
| # OpenROAD Documentation | ||
| # OpenROAD-flow-scripts Documentation | ||
|
|
||
| This documentation is available at [https://openroad.readthedocs.io/en/latest/](https://openroad.readthedocs.io/en/latest/) | ||
| This is the source for the OpenROAD-flow-scripts (ORFS) documentation, published | ||
| at [https://openroad-flow-scripts.readthedocs.io/en/latest/](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/](https://openroad.readthedocs.io/en/latest/). | ||
|
|
||
| ## Build locally | ||
|
|
||
| ### Requires: | ||
| - Python 3.x | ||
| - Pip | ||
| - `virtualenv` | ||
| ### 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. | ||
| - `pip` | ||
| - `virtualenv` (or the standard-library `venv`) | ||
|
|
||
| ### Install prerequisites | ||
|
|
||
| ### Install prerequisites: | ||
| Run from the repository root: | ||
|
|
||
| ``` shell | ||
| virtualenv .venv | ||
| source .venv/bin/activate | ||
| pip install -r requirements.txt | ||
| pip install -r docs/requirements_lock.txt | ||
| ``` | ||
|
|
||
| ### Build: | ||
| `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: | ||
|
|
||
| ``` shell | ||
| pip-compile --generate-hashes --output-file=docs/requirements_lock.txt docs/requirements.in | ||
| ``` | ||
|
|
||
| ### Build | ||
|
|
||
| ``` shell | ||
| cd docs | ||
| make html | ||
|
Comment on lines
+41
to
42
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of instructing the user to change directory to |
||
| ``` | ||
|
|
||
| ### Check for broken links: | ||
| The generated site is in `docs/build/html`; open `docs/build/html/index.html`. | ||
|
|
||
| ### Check for broken links | ||
|
|
||
| ``` shell | ||
| 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.py` downloads 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 file `contrib/GitGuide.md`. Do not | ||
| commit those changes; `git checkout docs/contrib/GitGuide.md` after a build. | ||
| - Always `rm -rf docs/build` before rebuilding. The output directory is | ||
| `build/`, but `conf.py`'s `exclude_patterns` only excludes `_build`, so a | ||
| second run picks up the Markdown files written under `build/html/` as if they | ||
| were source pages. | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ This is intended for: | |
| - Beginners or new users with some understanding of basic VLSI | ||
| design flow. Users will learn the basics of installation to use | ||
| OpenROAD-flow-scripts for the complete RTL-to-GDS flow from | ||
| [here](../index.md#getting-started-with-openroad-flow-scripts). | ||
| [here](../index2.md#getting-started-with-openroad-flow-scripts). | ||
| - Users already familiar with the OpenROAD application and flow but would | ||
| like to learn more about specific features and commands. | ||
|
|
||
|
|
@@ -522,6 +522,7 @@ View clock tree structure below, the user needs to disable the metal | |
| From the top Toolbar, click on the `Windows` menu to select/hide different | ||
| view options of Scripting, Display control, etc. | ||
|
|
||
| (content:heat:maps)= | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ### Using Heat Maps | ||
|
|
||
| From the Menu Bar, Click on `Tools` -> `Heat Maps` -> `Placement Density` to view | ||
|
|
@@ -939,7 +940,7 @@ cd ../tools/OpenROAD/src/pdn/test | |
| openroad -gui | ||
| ``` | ||
|
|
||
| Run [core_grid_snap.tcl](.(https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/src/pdn/test/core_grid_snap.tcl) | ||
| Run [core_grid_snap.tcl](https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/src/pdn/test/core_grid_snap.tcl) | ||
| to generate power grid for `gcd` design. | ||
|
|
||
| ```tcl | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To run
pip-compile, the user needs to havepip-toolsinstalled. It would be helpful to mention installingpip-tools(e.g., viapip install pip-tools) before instructing them to runpip-compile.