diff --git a/content/docs/command-reference/config.md b/content/docs/command-reference/config.md index 3f0b4a1a31..1a876111b5 100644 --- a/content/docs/command-reference/config.md +++ b/content/docs/command-reference/config.md @@ -279,6 +279,15 @@ experiments or projects use a similar structure. files will be stored, by default in `.dvc/tmp/index`. This may be necessary when using DVC on NFS or other mounted volumes. +### plots + +- `plots.html_template` - sets a + [custom HTML template](/doc/command-reference/plots#html-templates) for + `dvc plots`. Accepts a path relative to the `.dvc/` folder. + +- `plots.auto_open` - if `true`, DVC will automatically open the HTML file + generated by `dvc plots` commands in a browser. `false` by default + ## Example: Add an S3 remote, and set it as default > 💡 Before adding an S3 remote, be sure to diff --git a/content/docs/command-reference/exp/show.md b/content/docs/command-reference/exp/show.md index b0c278842e..64d2b24ef4 100644 --- a/content/docs/command-reference/exp/show.md +++ b/content/docs/command-reference/exp/show.md @@ -128,7 +128,8 @@ will be generated using the same data from the table. destination `folder` of the plot. By default its `dvc_plots`. - `--open` - when used with `--pcp`, opens the generated plot in a browser - automatically. + automatically. You can enable `dvc config plots.auto_open` to make this the + default behavior. ## Examples diff --git a/content/docs/command-reference/plots/diff.md b/content/docs/command-reference/plots/diff.md index 01466f805b..cb30292551 100644 --- a/content/docs/command-reference/plots/diff.md +++ b/content/docs/command-reference/plots/diff.md @@ -89,7 +89,8 @@ all the current plots, without comparisons. - `--show-vega` - produce a [Vega-Lite](https://vega.github.io/vega-lite/) spec file instead of HTML. See `dvc plots` for more info. -- `--open` - opens the generated plot in the browser automatically. +- `--open` - open the HTML generated in a browser automatically. You can enable + `dvc config plots.auto_open` to make this the default behavior. - `--no-header` - lets DVC know that CSV or TSV `--targets` do not have a header. A 0-based numeric index can be used to identify each column instead of diff --git a/content/docs/command-reference/plots/show.md b/content/docs/command-reference/plots/show.md index a8ff83b4be..23e3c29b41 100644 --- a/content/docs/command-reference/plots/show.md +++ b/content/docs/command-reference/plots/show.md @@ -63,7 +63,8 @@ please see `dvc plots`. - `--show-vega` - produce a [Vega-Lite](https://vega.github.io/vega-lite/) spec file instead of HTML. See `dvc plots` for more info. -- `--open` - opens the generated plot in the browser automatically. +- `--open` - open the HTML generated in a browser automatically. You can enable + `dvc config plots.auto_open` to make this the default behavior. - `--no-header` - lets DVC know that CSV or TSV `targets` do not have a header. A 0-based numeric index can be used to identify each column instead of names.