2017-02-27 21:14:31 -08:00
|
|
|
# Ray Documentation
|
|
|
|
|
2022-01-20 15:30:56 -08:00
|
|
|
To compile the documentation, run the following commands from this directory.
|
|
|
|
Note that Ray must be installed first.
|
2017-02-27 21:14:31 -08:00
|
|
|
|
2022-01-13 00:17:28 +01:00
|
|
|
```bash
|
2022-01-20 15:30:56 -08:00
|
|
|
pip install -r requirements-doc.txt
|
|
|
|
pip install -U -r requirements-rtd.txt # important for reproducing the deployment environment
|
|
|
|
make html
|
|
|
|
open _build/html/index.html
|
2017-02-27 21:14:31 -08:00
|
|
|
```
|
|
|
|
|
2022-01-20 15:30:56 -08:00
|
|
|
To test if there are any build errors with the documentation, do the following.
|
2017-02-27 21:14:31 -08:00
|
|
|
|
2022-01-13 00:17:28 +01:00
|
|
|
```bash
|
|
|
|
sphinx-build -W -b html -d _build/doctrees source _build/html
|
2017-02-27 21:14:31 -08:00
|
|
|
```
|
2021-11-04 13:19:43 -07:00
|
|
|
|
|
|
|
To check if there are broken links, run the following (we are currently not running this
|
|
|
|
in the CI since there are false positives).
|
|
|
|
|
2022-01-13 00:17:28 +01:00
|
|
|
```bash
|
2021-11-04 13:19:43 -07:00
|
|
|
make linkcheck
|
|
|
|
```
|