Initial ROCm-docs (#92)
* Initial ROCm-docs commit Co-authored-by: Aurélien Bouteiller <bouteill@icl.utk.edu> Co-authored-by: Alex Xu <alex.xu@amd.com> Co-authored-by: yugang-amd <yugang.wang@amd.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Building the rocSHMEM documentation
|
||||
|
||||
## macOS
|
||||
|
||||
To build html documentation locally:
|
||||
|
||||
```
|
||||
brew install doxygen sphinx-doc
|
||||
pip3.10 install -r ./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 ./requirements.txt
|
||||
sphinx-build -M latexpdf . _build
|
||||
open _build/latex/rocshmem.pdf
|
||||
```
|
||||
Reference in New Issue
Block a user