From d343ebf718393ea704da132de508db712f7bcb44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 15 Feb 2021 13:17:09 +0100 Subject: [PATCH] Document ignoreImports --- content/en/hugo-modules/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index 5405e4e51..4e30af852 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -80,6 +80,7 @@ extended [[module.imports]] path = "github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v" ignoreConfig = false + ignoreImports = false disable = false [[module.imports]] path = "my-shortcodes" @@ -91,6 +92,9 @@ path ignoreConfig : If enabled, any module configuration file, e.g. `config.toml`, will not be loaded. Note that this will also stop the loading of any transitive module dependencies. +ignoreImports {{< new-in "0.80.0" >}} +: If enabled, module imports will not be followed. + disable : Set to `true` to disable the module while keeping any version info in the `go.*` files.