Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Make doc code snippet testable [6/n] #36942

Merged
merged 25 commits into from
Jul 7, 2023
Merged

Conversation

jjyao
Copy link
Collaborator

@jjyao jjyao commented Jun 29, 2023

Why are these changes needed?

Change code snippet from ..code-block:: to ..testcode::

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • 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
    • Unit tests
    • Release tests
    • This PR is not tested :(

jjyao added 17 commits June 29, 2023 15:52
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
@fishbone fishbone removed their assignment Jul 6, 2023
jjyao added 3 commits July 6, 2023 11:05
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Jiajun Yao <[email protected]>
doc/BUILD Outdated Show resolved Hide resolved
doc/BUILD Outdated Show resolved Hide resolved
doc/source/workflows/basics.rst Outdated Show resolved Hide resolved
doc/source/workflows/basics.rst Show resolved Hide resolved
doc/source/workflows/events.rst Outdated Show resolved Hide resolved
doc/source/workflows/events.rst Show resolved Hide resolved
python/ray/workflow/http_event_provider.py Outdated Show resolved Hide resolved
Signed-off-by: Jiajun Yao <[email protected]>
Copy link
Member

@bveeramani bveeramani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jjyao jjyao merged commit b56aab4 into ray-project:master Jul 7, 2023
@jjyao jjyao deleted the jjyao/untest branch July 7, 2023 16:34
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Change code snippet from ..code-block:: to ..testcode::

Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: e428265 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants