From a7a9a756394c87a1a8a3a16611fb6f4898087212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 8 Sep 2025 15:29:54 +0200 Subject: [PATCH] Update module.md --- content/en/configuration/module.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/configuration/module.md b/content/en/configuration/module.md index cc7ace16b..3c8921cc3 100644 --- a/content/en/configuration/module.md +++ b/content/en/configuration/module.md @@ -112,6 +112,10 @@ noVendor path : (`string`) The module path, either a valid Go module path (e.g., `github.com/gohugoio/myShortcodes`) or the directory name if stored in the [`themesDir`]. +version +: {{< new-in 0.150.0 />}} +: If set to a [version query](https://go.dev/ref/mod#version-queries), this import becomes a direct dependency, in contrast to dependencies managed by Go Modules. See [this issue](https://github.com/gohugoio/hugo/pull/13966) for more information. + {{% include "/_common/gomodules-info.md" %}} ## Mounts