diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-09-09 16:51:13 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-09-10 08:47:05 +0200 |
commit | 9a1e6d15a31ec667b2ff9cf20e43b1daca61e004 (patch) | |
tree | 1e5bfed58030989858820e3e2e1ceba0b46a31c2 /docs | |
parent | 84adecf97baa91ab18cb26812fa864b4451d3c5f (diff) |
modules: Make ignoreVendor a glob pattern
Fixes #7642
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/en/hugo-modules/use-modules.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/hugo-modules/use-modules.md b/docs/content/en/hugo-modules/use-modules.md index 5f16d5675..b6fd3a0aa 100644 --- a/docs/content/en/hugo-modules/use-modules.md +++ b/docs/content/en/hugo-modules/use-modules.md @@ -120,7 +120,7 @@ Note that: * You can run `hugo mod vendor` on any level in the module tree. * Vendoring will not store modules stored in your `themes` folder. -* Most commands accept a `--ignoreVendor` flag, which will then run as if the none of the `_vendor` folders in the module tree existed. +* Most commands accept a `--ignoreVendorPaths` flag, which will then not use the vendored modules in `_vendor` for the module paths matching the [Glob](https://github.com/gobwas/glob) pattern given. Note that before Hugo 0.75 this flag was named `--ignoreVendor` and was a "all or nothing". {{< new-in "0.75.0" >}} Also see the [CLI Doc](/commands/hugo_mod_vendor/). |