Skip to content

Commit

Permalink
cmd: hotfix fetch and params (#1569)
Browse files Browse the repository at this point in the history
* cmd: fix fetch examples syntax

* cmd: fix code block in params index
  • Loading branch information
jorgeorpinel authored Jul 13, 2020
1 parent 15fc4e4 commit 6c90d52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions content/docs/command-reference/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <abbr>data
artifacts</abbr> tracked by DVC-tracked:

````dvc
```dvc
$ dvc list https://github.com/iterative/example-get-started
.gitignore
README.md
Expand All @@ -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)
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions content/docs/command-reference/params/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 6c90d52

Please sign in to comment.