From 6c90d5227769a9978841778c88aaac745163c211 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Mon, 13 Jul 2020 16:51:02 -0500 Subject: [PATCH] cmd: hotfix fetch and params (#1569) * cmd: fix fetch examples syntax * cmd: fix code block in params index --- content/docs/command-reference/list.md | 7 ++++--- content/docs/command-reference/params/index.md | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/content/docs/command-reference/list.md b/content/docs/command-reference/list.md index 55dd1c75b4..ceefe10508 100644 --- a/content/docs/command-reference/list.md +++ b/content/docs/command-reference/list.md @@ -79,7 +79,7 @@ other commands like `dvc get` or `dvc import` to reuse any file or directory found in it. This includes files tracked by Git as well as data artifacts tracked by DVC-tracked: -````dvc +```dvc $ dvc list https://github.com/iterative/example-get-started .gitignore README.md @@ -90,7 +90,8 @@ model.pkl params.yaml prc.json scores.json -src``` +src +``` If you open the [example-get-started](https://github.com/iterative/example-get-started) @@ -103,7 +104,7 @@ We can now, for example, download the model file with: ```dvc $ dvc get https://github.com/iterative/example-get-started model.pkl -```` +``` ## Example: List all files and directories in a data registry diff --git a/content/docs/command-reference/params/index.md b/content/docs/command-reference/params/index.md index a79f6c7357..2a80d050d4 100644 --- a/content/docs/command-reference/params/index.md +++ b/content/docs/command-reference/params/index.md @@ -114,7 +114,7 @@ You can find that each parameter and it's value were saved to values will be compared to the ones in the parameters files whenever `dvc repro` is used, to determine if dependency to the params file is invalidated: -````yaml +```yaml stages: train: cmd: python train.py @@ -124,8 +124,8 @@ stages: - lr - train outs: - - model.pkl``` -```` + - model.pkl +``` Alternatively, the entire group of parameters `train` can be referenced, instead of specifying each of the group parameters separately: