12ab8df3bc
git-subtree-dir: projects/rocshmem git-subtree-mainline:5fd976da70git-subtree-split:0496586829
22 řádky
531 B
Markdown
22 řádky
531 B
Markdown
# Building the rocSHMEM documentation
|
|
|
|
## macOS
|
|
|
|
To build html documentation locally:
|
|
|
|
```
|
|
brew install doxygen sphinx-doc
|
|
pip3.10 install -r ./sphinx/requirements.txt
|
|
python3.10 -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html
|
|
open _build/html/index.html
|
|
```
|
|
|
|
To build pdf documentation we require a LaTeX installation on your machine.
|
|
Once LaTeX is installed, you may run the following:
|
|
|
|
```
|
|
pip3.10 install -r ./sphinx/requirements.txt
|
|
sphinx-build -M latexpdf . _build
|
|
open _build/latex/rocshmem.pdf
|
|
```
|