Dvc.org: code snippets in documentation not available on Github

Created on 7 Mar 2019  路  8Comments  路  Source: iterative/dvc.org

DVC documentation contains many examples that refer to some code snippets, such as
dvc run \ -d prepare.py -d data.xml \ -o data.tsv -o data-test.tsv \ python prepare.py data.xml

But the file prepare.py can't be found on its Github repo. It would be very helpful for users to understand how the code snippets were written so that can be used in 'dvc run'.

Hope all the "*.py" files or other code examples would be available in Git repo. Thanks for the great work!

Richard

doc-content enhancement

Most helpful comment

I am currently going through the DVC commands and updating the documentation. Thank you for the feedback.

Generally speaking for now think of these as examples of what can be done, rather than precisely replicatable things.

I certainly get that you want replicatable examples, and will keep this in mind.

All 8 comments

I am currently going through the DVC commands and updating the documentation. Thank you for the feedback.

Generally speaking for now think of these as examples of what can be done, rather than precisely replicatable things.

I certainly get that you want replicatable examples, and will keep this in mind.

Great! Thank you very much!

@richardxy could, you give a little bit more context ... which part of the documentation you are referring to in this issue?

I said it as a general impression for all parts of the documentation (particularly in "dvc run" part, I guess). When a .py file is referred in an example of command, but without seeing the py file, a person may not understand how such a script should be written.

btw, I really like the tutorial https://dvc.org/doc/tutorial/define-ml-pipeline, which has the code downloadable from S3. Even so, it would be still nice to be able to read the code files on Github without downloading and unzipping the code package.

@richardxy would be great if you could take a look at this command reference https://dvc.org/doc/commands-reference/checkout . We've made example for it runnable and available on Github. Let me know if you understand the doc, is it easy enough to reproduce, any feedback. Thanks!

I think we can close this issue @shcheklein ? We don't intend to have exact reproducible examples in all docs, just in some cmd ref examples, how-tos, and tutorials.

@jorgeorpinel sure! feel free to close this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elleobrien picture elleobrien  路  4Comments

jorgeorpinel picture jorgeorpinel  路  3Comments

utkarshsingh99 picture utkarshsingh99  路  3Comments

jorgeorpinel picture jorgeorpinel  路  4Comments

lunasdejavu picture lunasdejavu  路  4Comments