Skip to content

Commit 0aa071a

Browse files
paredjorgeorpinelrestyled-io[bot]restyled-commits
authored
metrics: info on non-output usage (#3387)
* metrics: info on non-output usage Fixes: #1909 * Update content/docs/command-reference/metrics/index.md * Update content/docs/command-reference/metrics/show.md Co-authored-by: Paweł Redzyński <[email protected]> * Restyled by prettier (#3412) Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Jorge Orpinel <[email protected]> Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <[email protected]>
1 parent f2b3720 commit 0aa071a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ 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 ones
52+
specified in `dvc.yaml` (if any), for example `summary.json` below:
5253

5354
```yaml
5455
stages:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ 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 or Git repo to
31+
> run in.
3232
3333
An alternative way to display metrics is the `dvc metrics diff` command, which
3434
compares them with a previous version.

0 commit comments

Comments
 (0)