summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-02-14 19:24:13 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-02-16 16:30:01 +0100
commitbdfbcf6f4b4ab53a617ab76f72e8aa28da6067de (patch)
treea5b2fb8aeabe9103bb44b2516533f2c498806d08 /docs
parentb60e9279ab95030828eb4f822be96250284c4d8d (diff)
modules: Add config option modules.vendorClosest
Fixes #8235 Fixes #8242
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/hugo-modules/configuration.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/hugo-modules/configuration.md b/docs/content/en/hugo-modules/configuration.md
index 5405e4e51..f82902ebb 100644
--- a/docs/content/en/hugo-modules/configuration.md
+++ b/docs/content/en/hugo-modules/configuration.md
@@ -29,6 +29,9 @@ replacements = ""
noVendor {{< new-in "0.75.0" >}}
: A optional Glob pattern matching module paths to skip when vendoring, e.g. "github.com/**"
+vendorClosest {{< new-in "0.81.0" >}}
+: When enabled, we will pick the vendored module closest to the module using it. The default behaviour is to pick the first. Note that there can still be only one dependency of a given module path, so once it is in use it cannot be redefined.
+
proxy
: Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar.