-
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
[docs] fix build #34265
[docs] fix build #34265
Conversation
Signed-off-by: Max Pumperla <[email protected]>
Signed-off-by: Max Pumperla <[email protected]>
Signed-off-by: Max Pumperla <[email protected]>
Signed-off-by: Max Pumperla <[email protected]>
doc/source/data/api/dataset.rst
Outdated
@@ -149,3 +149,17 @@ Serialization | |||
Dataset.has_serializable_lineage | |||
Dataset.serialize_lineage | |||
Dataset.deserialize_lineage | |||
|
|||
|
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.
We need these to be explicitly in a TOC somewhere. We can argue about the exact position after fixing the build.
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
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.
Thanks @maxpumperla. The build method got axed and got replaced with the setup method due to conflict with internal tf.keras.Model API. If you can replace that it will be great. Thanks.
doc/source/data/api/dataset.rst
Outdated
Dataset.fully_executed | ||
Dataset.is_fully_executed | ||
Dataset.lazy | ||
Dataset.write_webdataset |
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 one should be added to "I/O and Conversion" list in dataset.rst
doc/source/data/api/dataset.rst
Outdated
--------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ |
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.
Oh cool, this deprecates most of my fix PR here: #34228
Btw, is there a way to hide this internals section by default? Some of these are legacy backwards compatibility aliases that we don't want to expose.
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.
@ericl yes, toctrees can be :hidden:
, if this is what we want.
@@ -191,22 +191,6 @@ class ExecutionOptions: | |||
"""Common options for execution. | |||
|
|||
Some options may not be supported on all executors (e.g., resource limits). | |||
|
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 was able to fix this via adding the nosummary template: https://github.com/ray-project/ray/pull/34228/files#diff-b3a1d55836e0b2035d287e569a716fa02296221b15eee9babd6c2ea0f62a2ec7R13
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.
cool, thanks
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.
@pcmoritz you can undo this particular diff now (fixed in master).
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.
Thanks, will do!
Co-authored-by: kourosh hakhamaneshi <[email protected]> Signed-off-by: Max Pumperla <[email protected]>
Signed-off-by: Philipp Moritz <[email protected]>
^ I tried to fix the merge conflicts -- let's see if it passes and if yes we can merge it :) cc @maxpumperla |
Merging this now -- there is one more documentation failure that will be fixed by the RL team. Thanks for fixing all this @maxpumperla :) |
@pcmoritz thank you for jumping in and resolving the conflicts! |
* [docs] fix build Signed-off-by: Max Pumperla <[email protected]> * fix doctests Signed-off-by: Max Pumperla <[email protected]> * last test Signed-off-by: Max Pumperla <[email protected]> * lint Signed-off-by: Max Pumperla <[email protected]> * Update doc/source/rllib/package_ref/rl_modules.rst Co-authored-by: kourosh hakhamaneshi <[email protected]> Signed-off-by: Max Pumperla <[email protected]> * fixes * revert diff * whitespace --------- Signed-off-by: Max Pumperla <[email protected]> Signed-off-by: Philipp Moritz <[email protected]> Co-authored-by: kourosh hakhamaneshi <[email protected]> Co-authored-by: Philipp Moritz <[email protected]>
* [docs] fix build Signed-off-by: Max Pumperla <[email protected]> * fix doctests Signed-off-by: Max Pumperla <[email protected]> * last test Signed-off-by: Max Pumperla <[email protected]> * lint Signed-off-by: Max Pumperla <[email protected]> * Update doc/source/rllib/package_ref/rl_modules.rst Co-authored-by: kourosh hakhamaneshi <[email protected]> Signed-off-by: Max Pumperla <[email protected]> * fixes * revert diff * whitespace --------- Signed-off-by: Max Pumperla <[email protected]> Signed-off-by: Philipp Moritz <[email protected]> Co-authored-by: kourosh hakhamaneshi <[email protected]> Co-authored-by: Philipp Moritz <[email protected]> Signed-off-by: elliottower <[email protected]>
* [docs] fix build Signed-off-by: Max Pumperla <[email protected]> * fix doctests Signed-off-by: Max Pumperla <[email protected]> * last test Signed-off-by: Max Pumperla <[email protected]> * lint Signed-off-by: Max Pumperla <[email protected]> * Update doc/source/rllib/package_ref/rl_modules.rst Co-authored-by: kourosh hakhamaneshi <[email protected]> Signed-off-by: Max Pumperla <[email protected]> * fixes * revert diff * whitespace --------- Signed-off-by: Max Pumperla <[email protected]> Signed-off-by: Philipp Moritz <[email protected]> Co-authored-by: kourosh hakhamaneshi <[email protected]> Co-authored-by: Philipp Moritz <[email protected]> Signed-off-by: Jack He <[email protected]>
Why are these changes needed?
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.