From a969d028db1754f83be967d9ac7ef71f25c91c39 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Sun, 3 Jan 2021 17:20:26 -0600 Subject: [PATCH] dvc.yaml: review examples --- content/docs/command-reference/import.md | 1 + content/docs/command-reference/plots/modify.md | 7 ++++--- content/docs/start/data-pipelines.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/content/docs/command-reference/import.md b/content/docs/command-reference/import.md index 7d687ff3f0..1631795738 100644 --- a/content/docs/command-reference/import.md +++ b/content/docs/command-reference/import.md @@ -146,6 +146,7 @@ but it also creates an import stage (`.dvc` file) with a link to the data source ```yaml md5: 7de90e7de7b432ad972095bc1f2ec0f8 +frozen: true wdir: . deps: - path: data/data.xml diff --git a/content/docs/command-reference/plots/modify.md b/content/docs/command-reference/plots/modify.md index 082fc22ea8..ebf75cf93a 100644 --- a/content/docs/command-reference/plots/modify.md +++ b/content/docs/command-reference/plots/modify.md @@ -101,9 +101,10 @@ Note, a new field _y_ was added to `dvc.yaml` file for the plot. Please do not forget to commit the change in Git if the modification needs to be preserved. ```yaml -- logs.csv: - cache: false - y: accuracy +plots: + - logs.csv: + cache: false + y: accuracy ``` Changing the plot `title` and `x-label`: diff --git a/content/docs/start/data-pipelines.md b/content/docs/start/data-pipelines.md index f545e03840..076158130c 100644 --- a/content/docs/start/data-pipelines.md +++ b/content/docs/start/data-pipelines.md @@ -130,8 +130,8 @@ stages: prepare: cmd: python src/prepare.py data/data.xml deps: - - data/data.xml - src/prepare.py + - data/data.xml params: - prepare.seed - prepare.split