Skip to content

Commit

Permalink
Document ignoreImports
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 15, 2021
1 parent f912ea1 commit d343ebf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/hugo-modules/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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.

Expand Down

0 comments on commit d343ebf

Please sign in to comment.