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

[CherryPick][Core][Doc] #32236 #32520 #32551 #32570 #32536

Merged
merged 5 commits into from
Feb 16, 2023
Merged

Conversation

jjyao
Copy link
Collaborator

@jjyao jjyao commented Feb 14, 2023

Why are these changes needed?

#32236 #32520 #32551 #32570

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 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 jjyao closed this Feb 14, 2023
@jjyao jjyao reopened this Feb 14, 2023
@jjyao jjyao changed the base branch from master to releases/2.3.0 February 14, 2023 18:02
Copy link
Member

@cadedaniel cadedaniel left a comment

Choose a reason for hiding this comment

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

LGTM, all changes are doc changes.

Let's wait until doc tests pass before merging

Copy link
Collaborator

@zhe-thoughts zhe-thoughts left a comment

Choose a reason for hiding this comment

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

Approved for picking into 2.3.0

Similar to #31204, refactor the core api reference for better layout and view.

Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
By default, autosummary only shows one line for each class member instead of the entire docstring. Ideally the fix should be autosummarying class members as well but that generates too many doc pages and causes doc build timeout. For now, default to show docstring of class members in the class pages and an explicit opt-in to autosummary class members.

Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
@cadedaniel
Copy link
Member

@jjyao is @justinvyu working on the doctest failures? is there a summary of the issue?

@justinvyu
Copy link
Contributor

justinvyu commented Feb 14, 2023

Summary:

Classes included in autosummary now show all member + docstrings by default, and if a member of the class gets included in the autosummary, then there's a duplicate reference that will be indexed twice - causing the errors. The fix is using Jiajun's class_with_autosummary.rst template for these to prevent duplicates. Will have a fix up in 10 min.

@justinvyu
Copy link
Contributor

@cadedaniel PR with fix is here #32551 (waiting to merge into master)

@jjyao jjyao changed the title [CherryPick][Core][Doc] #32236 #32520 [CherryPick][Core][Doc] #32236 #32520 #32551 #32570 Feb 16, 2023
@jjyao jjyao merged commit 095de26 into releases/2.3.0 Feb 16, 2023
@jjyao jjyao deleted the jjyao/cherry branch February 16, 2023 01:48
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.

4 participants