-
Notifications
You must be signed in to change notification settings - Fork 394
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
Dvclive api reference #2632
Dvclive api reference #2632
Conversation
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.
Great work! This looks really nice as a first draft. I'd also like to get someone from the docs team to review before merging (cc @jorgeorpinel).
We should also open a discussion on whether to include this in docstrings. I know there was already some discussion on autogenerating docs, but I think even if we have to duplicate text, it's worth considering for dvclive. IMO docstrings are generally accepted practice for a lot of ML libraries and could encourage contributions.
Co-authored-by: Dave Berenbaum <[email protected]>
Co-authored-by: Dave Berenbaum <[email protected]>
I agree that it's worth to add the docstrings to |
@jorgeorpinel Should we assign a reviewer from the docs team? |
## Description | ||
|
||
It's usage is optional and focused on configuring the behavior of subsequent | ||
calls to [`dvclive.log`](/doc/dvclive/api-reference/log) and |
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.
future improvement: we should create a ticket or improve auto-linker, to keep text clean from these internal links like we do in DVC API reference
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.
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.
some minor comments:
- try to use more links, "abbr" tooltips, for people better understand certain concepts
- write and prioritize the work on the ticket that would allow us to get rid of the explicit MD links to api reference - that should be very easy, similar to DVC.
Btw, on docstrings, I do think we need to include them (way simpler version though). Also, as a next step, do we want to write some examples for these APIs? |
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.
Hi 👋 just noticed this. I have lots of comments. Nothing super major but a few relevant questions and suggestions, and lots of minor ones (e.g. copy edits). A couple cosmetic ones 💅 too
Thanks
p.s. @daavoo I realize you may be focused on development so one option is to create a future docs improvement ticket linking to my #2632 (review) above. Maybe we can even work on it ourselves (docs team) — we can discuss in a planning meeting. Tanks |
UPDATE: I guess could be part of iterative/dvclive/issues/86 but that's already a pretty long one 😅 kind of an epic? |
I was already addressing your suggestions locally. My personal opinion is that, for |
Yep. I tried to use the Github |
@jorgeorpinel to clarify, @daavoo 's scope of work includes writing docs/README and other product things, not only engineering. It's expected that he takes of the product holistically (similar to Casper's work on CML I think). |
Got it, thanks guys. |
❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention
Fix #issue
(if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏
Closes iterative/dvclive#108