ray/doc
Jules S. Damji 065786b7fe
[docs] Make design pattern example self contained (#20981)
Signed-off-by: Jules S.Damji jules@anyscale.com

Why are these changes needed?
The code snippet referenced a python function that was not defined, therefore the code snippet as is won't work. All complete or self-contained code in our docs should run.

The changes made were adding the undefined function, iterating over a list of different random large arrays to show the difference between local or distributed sort's execution time, and print them.

Closes #20960
2021-12-09 20:19:38 -08:00
..
_build Get Sphinx infrastructure in place 2016-07-01 18:21:02 -07:00
azure [autoscaler] Azure deployment fixes (#11613) 2020-10-27 15:27:18 -07:00
examples [train][datasets] update example and remove dask (#20592) 2021-11-21 17:06:44 -08:00
kubernetes [Core][CoreWorker] increase the default port range (#19541) 2021-11-05 09:25:44 -07:00
site [docs] Move all /latest links to /master (#11897) 2020-11-10 10:53:28 -08:00
source [docs] Make design pattern example self contained (#20981) 2021-12-09 20:19:38 -08:00
tools Shellcheck rewrites (#9597) 2020-07-24 17:24:19 -05:00
yarn [core] Deprecate QuotaAwareEvictionPolicy (#16911) 2021-07-07 13:44:41 -07:00
.gitignore [docs] Convert Examples to Gallery (#5414) 2019-09-24 15:46:56 -07:00
BUILD [train][datasets] add example for big data training (#20042) 2021-11-05 09:28:48 -07:00
make.bat Get Sphinx infrastructure in place 2016-07-01 18:21:02 -07:00
Makefile [Core][Dataset] adding example for large scale data ingestion (#18998) 2021-10-11 15:37:09 -07:00
README.md [docs] Fix broken links in documentation and add linkcheck to documentation (#20030) 2021-11-04 13:19:43 -07:00
requirements-doc.txt [docs]Add pyarrow as a dependency (#20320) 2021-11-13 16:00:58 +00:00
requirements-rtd.txt Bump pillow from 7.2.0 to 8.3.2 in /doc (#18422) 2021-10-23 18:36:14 -07:00

Ray Documentation

To compile the documentation, run the following commands from this directory. Note that Ray must be installed first.

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

To test if there are any build errors with the documentation, do the following.

sphinx-build -b html -d _build/doctrees source _build/html

To check if there are broken links, run the following (we are currently not running this in the CI since there are false positives).

make linkcheck