-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[serve] Clean up API reference and various docstrings #34711
Conversation
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
af3e47b
to
5244b3a
Compare
Signed-off-by: Edward Oakes <[email protected]>
56200f1
to
569f420
Compare
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
c1ad974
to
2f05639
Compare
Signed-off-by: Edward Oakes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Cindy Zhang <[email protected]> Signed-off-by: Edward Oakes <[email protected]>
@ray-project/ray-docs can I get a review on this please |
|
||
<!--- | ||
NOTE: `serve.deployment` and `serve.Deployment` have an autosummary-generated filename collision due to case insensitivity. | ||
This is fixed by added custom filename mappings in `source/conf.py` (look for "autosummary_filename_map"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixed by added custom filename mappings in `source/conf.py` (look for "autosummary_filename_map"). | |
This is fixed by added custom filename mappings in `source/conf.py`. (Look for "autosummary_filename_map".) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's actually correct as-is?
Co-authored-by: angelinalg <[email protected]> Signed-off-by: Edward Oakes <[email protected]>
>>> # deployment_name#krcwoa | ||
>>> serve.get_replica_context().replica_tag # doctest: +SKIP | ||
|
||
.. code-block:: python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventually we will move off this code-block thing, fyi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onto what?
Had some minor copy edits. Please use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @angelinalg !! |
Signed-off-by: Edward Oakes <[email protected]>
) Cleans up the API reference page formatting, adds/updates docstrings where applicable (corrects typing + verbiage, adds inline examples). Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: angelinalg <[email protected]>
Why are these changes needed?
Cleans up the API reference page formatting, adds/updates docstrings where applicable (corrects typing + verbiage, adds inline examples).
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.