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][rllib] the rest of missing api references + lint checker #47114

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Aug 13, 2024

Add the rest of missing API references for rllib. We can also now enable the API policy lint checker for rllib, now that all missing references are documented

Test:

  • CI
Screenshot 2024-08-13 at 12 15 08 PM

@can-anyscale can-anyscale force-pushed the can-dr02 branch 2 times, most recently from a9032fd to ca32a00 Compare August 13, 2024 21:43
@@ -26,8 +26,7 @@ which maps agent IDs to a policy ID.
by sub-classing either of the available, built-in classes, depending on your
needs.

.. include::
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fix this while i'm here to assist with the rst parser a little bit

@can-anyscale can-anyscale marked this pull request as ready for review August 13, 2024 23:29

.. autosummary::
:nosignatures:
:toctree: doc/

tensor_dtype.get_np_dtype
utils.tensor_dtype.get_np_dtype
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure where to document these, or whitelisting them, so leave this for @sven1977 to help with, thankks

The reason we document these are because they are PublicAPIs

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense. Let's leave this here as-is. We'll later retract these (old API stack) APIs' PublicAPI status and then also remove these form the docs again, but for now this is fine.

Copy link
Contributor

@sven1977 sven1977 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @can-anyscale .

Base automatically changed from can-dr01 to master August 14, 2024 09:37
@can-anyscale can-anyscale enabled auto-merge (squash) August 14, 2024 17:25
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Aug 14, 2024
@can-anyscale can-anyscale merged commit 0631713 into master Aug 14, 2024
7 checks passed
@can-anyscale can-anyscale deleted the can-dr02 branch August 14, 2024 18:16
simonsays1980 pushed a commit to simonsays1980/ray that referenced this pull request Aug 15, 2024
…roject#47114)

Add the rest of missing API references for rllib. We can also now enable
the API policy lint checker for rllib, now that all missing references
are documented

Test:
- CI

<img width="1351" alt="Screenshot 2024-08-13 at 12 15 08 PM"
src="https://github.com/user-attachments/assets/cc1d1c8e-763e-4d2e-a7d1-28243a7fdbab">

Signed-off-by: can <can@anyscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants