ray/doc/source
Clark Zinzow 3dda4e1d46
[Docs] Add a py:obj default role to Sphinx builds. (#25765)
By setting the [Sphinx `default_role`](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-default_role) to [`py:obj`](https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#role-py-obj), we can concisely cross-reference other Python APIs (classes or functions) in API docstrings while still maintaining the editor/IDE/terminal readability of the docstrings.

Before this PR, when referencing a class or a function, the relevant role specification is required: :class:`Dataset`, :meth:`Dataset.map`, :func:`.read_parquet`.

After this PR, the raw cross reference will work in most cases: `Dataset`, `Dataset.map`, `read_parquet`.

## Checks

- [x] I've run `scripts/format.sh` to lint the changes in this PR.
- [x] I've included any doc changes needed for https://docs.ray.io/en/master/.
- [x] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
   - [x] Unit tests
   - [ ] Release tests
   - [ ] This PR is not tested :(
2022-06-16 16:33:20 -07:00
..
_includes Point to latest contributing doc (#25149) 2022-05-31 10:13:20 +02:00
_static [docs] Cleanup ray init docs (#25492) 2022-06-06 13:16:32 -07:00
_templates [docs] templates and contribution guide (fixes #21753) (#23003) 2022-03-10 15:28:07 +00:00
cluster exclude doc_code from import sorting (#25772) 2022-06-15 11:34:45 -07:00
data [Data] fix broken link (#25867) 2022-06-16 14:01:38 -07:00
images [Datasets] Add basic e2e Datasets example on NYC taxi dataset (#24874) 2022-05-19 12:54:25 -07:00
ray-air [AIR/train] Move predictors to ray.train (#25769) 2022-06-15 17:02:15 -07:00
ray-contribute [rfc][doc] Add clarity to stability guidelines (#25611) 2022-06-10 15:19:21 -07:00
ray-core exclude doc_code from import sorting (#25772) 2022-06-15 11:34:45 -07:00
ray-more-libs [docs] Add initial AIR documentation (#24483) 2022-05-13 01:29:59 -07:00
ray-observability [docs] Document log to driver = False 2022-05-19 15:07:30 -07:00
ray-overview exclude doc_code from import sorting (#25772) 2022-06-15 11:34:45 -07:00
ray-references [docs] Add initial AIR documentation (#24483) 2022-05-13 01:29:59 -07:00
rllib [RLlib] CRR documentation. (#25667) 2022-06-14 12:45:36 +02:00
serve [Serve] [Docs] Remove references to namespaces in the Serve documentation (#25830) 2022-06-16 10:50:49 -05:00
train [AIR/Train] Move ray.air.train to ray.train (#25570) 2022-06-08 21:34:18 -07:00
tune [tune] Refactor Syncer / deprecate Sync client (#25655) 2022-06-14 14:46:30 +02:00
workflows [workflow] Remove workflow virtual actor (#25394) 2022-06-02 18:17:25 -07:00
_toc.yml [air] Add tutorial to convert existing pytorch code to Ray AIR (#25723) 2022-06-14 18:11:32 -07:00
conf.py [Docs] Add a py:obj default role to Sphinx builds. (#25765) 2022-06-16 16:33:20 -07:00
custom_directives.py [CI] Print linkcheck summary only in linkcheck (#25781) 2022-06-15 16:21:08 -07:00
index.md [docs] Move the workflows (alpha) library to the more libraries section for now (#25704) 2022-06-11 19:47:45 -07:00
preprocess_github_markdown.py exclude doc_code from import sorting (#25772) 2022-06-15 11:34:45 -07:00
robots.txt [docs] add robots txt (#24726) 2022-05-18 10:52:22 +01:00