Files
OpenROAD/docs/README.md
Øyvind Harboe cda9f9ed3e Fix unclosed code block in docs/README.md
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2026-03-06 07:44:42 +01:00

65 lines
1.6 KiB
Markdown

# OpenROAD Documentation
This `docs/` hierarchy houses code and raw files to
build the on-line documentation (using Sphinx) and
manual pages using (using Pandoc)
This on-line documentation is available at [https://openroad.readthedocs.io/en/latest/](https://openroad.readthedocs.io/en/latest/).
### Requires:
- Python 3.x
- Pip
- `virtualenv`
- `doxygen`
## Prerequisites
- To install pandoc, refer to this [link](https://github.com/jgm/pandoc/blob/main/INSTALL.md). `apt-get` *should* just work for Ubuntu.
- To install sphinx requirements, **create a virtual environment (e.g. conda/virtualenv)** and then run `pip install -r requirements.txt`.
You may install Doxygen from this [link](https://www.doxygen.nl/download.html).
Most methods of installation are fine, just ensure that `doxygen` is in $PATH.
This is needed for Doxygen compilation.
To install Python packages:
``` shell
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
### Build instructions for Pandoc manpages
The `-j16` command is optional for speeding up the manpage compilation process by using multiple jobs
based on the number of cores in your system.
``` shell
make clean
# Note this step is important as it regenerates the documentation using latest sources.
make preprocess && make all -j16
```
#### To view manpages
You will be prompted to enter the RELATIVE path to cat folders which is optional.
```tcl
man openroad
```
### Build instructions for Sphinx docs
#### HTML docs
``` shell
make html
```
#### Check for broken links
``` shell
make checklinks
```