From bdfbcf6f4b4ab53a617ab76f72e8aa28da6067de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 14 Feb 2021 19:24:13 +0100 Subject: modules: Add config option modules.vendorClosest Fixes #8235 Fixes #8242 --- docs/content/en/hugo-modules/configuration.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3