-
Notifications
You must be signed in to change notification settings - Fork 392
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
guide: make proper DVC File guide + separate reference? #2059
Comments
This comment has been minimized.
This comment has been minimized.
@shcheklein I moved all pending structure discussions from #2052 to here (see desc.). On your Q from #2052 (comment):
Ideally not (let's come up with a definite org here) but for now it works so we clearly separate the 2.0 features into https://dvc.org/doc/user-guide/dvc-files/advanced-dvc.yaml. And we can call it "basic" templating but the explanation takes a while (params files, global vars, local vars, etc. etc.) so maybe it's not that basic. But if we completely extract the reference part then yeah, it should be able to fit in the single dvc.yaml guide along with multi-stages — it will still be long though but maybe that's OK/inevitable. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@skshetry yes maybe a single dvc.yaml guide with several H2 headers (even if it's long) will be part of the solution here. But one more reason we sometimes avoid that you can see in cmd refs with multiple Examples (e.g. https://dvc.org/doc/command-reference/remote): you may notice there are some issues, like having to scroll in a small space (see also iterative/gatsby-theme-iterative#37, iterative/gatsby-theme-iterative#38).
@shcheklein it could be one guide page and one reference page somewhere else. I think we may need to extract the reference part to a new top section for DVC File/Format refs though (DV "Language" ref). Put .dvc, dvc.yaml/lock, .dvcignore, and maybe even .dvc/ dir (internals) there... But let me finish researching other sites and come up with a final proposal ⌛ |
those glitches should not determine layout to my mind in any way. Those are issues that should be fixed.
yep! |
Pending research (1/2)On the terminology, I'm going for " |
(2/2)On the organization of docs (Can dvc.yaml fit a single page?), here are some raw results: Hidden 👎
Hidden 👎
|
See #2098 for a WIP proposal to address all this. p.s. what about https://dvc.org/doc/user-guide/dvc-internals and https://dvc.org/doc/user-guide/dvcignore, shuold we move them into the DVC Files nav section? |
Question on this: won't it be pretty repetitive with https://dvc.org/doc/start/data-pipelines (once we rewrite that page)? Meaning, how should the basic dvc.yaml User Guide do differ from the Get Started: Data Pipelines? |
The purpose of the get started is to give a brief overview, it can be actionable so that people can try it. In our case it's already too long (mostly because we tend to grow all the documents and from time to time we need to dry them) The purpose of the User Guide is to provide comprehensive information (e.g. language spec). To some extent even Command Reference can be considered part of the User Guide for example. It means that these document should be very different in language, in how they are structured, otherwise something is probably not right. |
Some/parts of the docs in https://dvc.org/doc/user-guide/dvc-files feel more like a reference than a guide. While it's arguable whether that is a problem (e.g. other docs in that section have the same situation), it seems we agree that an actual guide for writing dvc.yaml would be great to have, since it's such a major component of DVC projects. Some ideas (from #2052 (review)):
And from #2052 (review)
And #2052 (comment)
The text was updated successfully, but these errors were encountered: