Skip to content

Commit 272bcf1

Browse files
committed
metrics: info on non-output usage
Fixes: #1909
1 parent a997ec2 commit 272bcf1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

content/docs/command-reference/metrics/diff.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ compare. A single specified revision results in comparing it against the
3737
workspace.
3838

3939
> Note that targets don't necessarily have to be defined in `dvc.yaml`. For that
40-
> reason, this command doesn't require an existing DVC project to run in; It
41-
> works in any Git repo.
40+
> reason, this command doesn't require an existing DVC project to run in.
4241
4342
All metrics defined in `dvc.yaml` are used by default, but specific metrics
4443
files can be specified with the `--targets` option.

content/docs/command-reference/metrics/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ Path Metric HEAD workspace Change
4747
metrics.json AUC 0.763981 0.801807 0.037826
4848
```
4949

50-
`dvc metrics` subcommands by default use the metrics files specified in
51-
`dvc.yaml` (if any), for example `summary.json` below:
50+
`dvc metrics` subcommands can be used on any
51+
[valid metrics files](#supported-file-formats). By default they use the metrics
52+
files specified in `dvc.yaml` (if there are any), for example `summary.json`
53+
below:
5254

5355
```yaml
5456
stages:

content/docs/command-reference/metrics/show.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ target can even be directories, so that DVC recursively shows all metrics files
2727
inside.
2828

2929
> Note that targets don't necessarily have to be defined in `dvc.yaml`. For that
30-
> reason, this command doesn't require an existing DVC project to run in; It
31-
> works in any Git repo.
30+
> reason, this command doesn't require an existing DVC project to run in.
3231
3332
An alternative way to display metrics is the `dvc metrics diff` command, which
3433
compares them with a previous version.

0 commit comments

Comments
 (0)