-
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
[2.3.0][Tune][Doc] Restructure API reference #32449
Conversation
Thanks @justinvyu ! Let's wait until #32446 is merged. |
Ready for approval @zhe-thoughts. Not blocking the release test run today. |
@@ -119,6 +119,7 @@ scripts/nodes.txt | |||
/doc/_build | |||
/doc/source/_static/thumbs | |||
/doc/source/tune/generated_guides/ | |||
/doc/source/**/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.
@justinvyu can you explain why this is necessary?
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 now have autogenerated API files under /doc/source/tune/api/doc/*
, /doc/source/data/api/doc/*
, etc. We shouldn't track these with git.
Signed-off-by: Justin Yu <[email protected]>
Note: I had to make another commit removing a reference to an API that has landed in master but not 2.3.0. |
cc @zhe-thoughts merging this doc change in now |
Why are these changes needed?
Cherry pick of #32311 and #32442 (fixed link check errors from the 1st PR).
This PR splits up long API refs into individual pages, one dedicated to each method/class. There are now 3 layers: an index page (ex:
doc/tune/api/api.rst
), a summary page for each group of APIs (ex:doc/tune/api/trainable.rst
), and an individual page for each API (ex:doc/tune/api/docs/tune.Trainable.rst
).Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.