"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/content/en/hugo-modules/configuration.md" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

configuration.md  (hugo-0.80.0):configuration.md  (hugo-0.81.0)
skipping to change at line 31 skipping to change at line 31
noVendor = "" noVendor = ""
proxy = "direct" proxy = "direct"
noProxy = "none" noProxy = "none"
private = "*.*" private = "*.*"
replacements = "" replacements = ""
{{< /code-toggle >}} {{< /code-toggle >}}
noVendor {{< new-in "0.75.0" >}} noVendor {{< new-in "0.75.0" >}}
: A optional Glob pattern matching module paths to skip when vendoring, e.g. "gi thub.com/**" : A optional Glob pattern matching module paths to skip when vendoring, e.g. "gi thub.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 o
ne dependency of a given module path, so once it is in use it cannot be redefine
d.
proxy proxy
: Defines the proxy server to use to download remote modules. Default is `direct `, which means "git clone" and similar. : Defines the proxy server to use to download remote modules. Default is `direct `, which means "git clone" and similar.
noProxy noProxy
: Comma separated glob list matching paths that should not use the proxy configu red above. : Comma separated glob list matching paths that should not use the proxy configu red above.
private private
: Comma separated glob list matching paths that should be treated as private. : Comma separated glob list matching paths that should be treated as private.
replacements {{< new-in "0.77.0" >}} replacements {{< new-in "0.77.0" >}}
skipping to change at line 82 skipping to change at line 85
extended extended
: Whether the extended version of Hugo is required. : Whether the extended version of Hugo is required.
## Module Config: imports ## Module Config: imports
{{< code-toggle file="config">}} {{< code-toggle file="config">}}
[module] [module]
[[module.imports]] [[module.imports]]
path = "github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v" path = "github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v"
ignoreConfig = false ignoreConfig = false
ignoreImports = false
disable = false disable = false
[[module.imports]] [[module.imports]]
path = "my-shortcodes" path = "my-shortcodes"
{{< /code-toggle >}} {{< /code-toggle >}}
path path
: Can be either a valid Go Module module path, e.g. `github.com/gohugoio/myShort codes`, or the directory name for the module as stored in your themes folder. : Can be either a valid Go Module module path, e.g. `github.com/gohugoio/myShort codes`, or the directory name for the module as stored in your themes folder.
ignoreConfig ignoreConfig
: If enabled, any module configuration file, e.g. `config.toml`, will not be loa ded. Note that this will also stop the loading of any transitive module dependen cies. : If enabled, any module configuration file, e.g. `config.toml`, will not be loa ded. Note that this will also stop the loading of any transitive module dependen cies.
ignoreImports {{< new-in "0.80.0" >}}
: If enabled, module imports will not be followed.
disable disable
: Set to `true` to disable the module while keeping any version info in the `go. *` files. : Set to `true` to disable the module while keeping any version info in the `go. *` files.
{{< gomodules-info >}} {{< gomodules-info >}}
## Module Config: mounts ## Module Config: mounts
{{% note %}} {{% note %}}
When the `mounts` config was introduced in Hugo 0.56.0, we were careful to prese rve the existing `staticDir` and similar configuration to make sure all existing sites just continued to work. But you should not have both: if you add a `mount s` section you should remove the old `staticDir` etc. settings. When the `mounts` config was introduced in Hugo 0.56.0, we were careful to prese rve the existing `staticDir` and similar configuration to make sure all existing sites just continued to work. But you should not have both: if you add a `mount s` section you should remove the old `staticDir` etc. settings.
{{% /note %}} {{% /note %}}
 End of changes. 3 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)