You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/configuration/module.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ proxy
42
42
: (`string`) The proxy server to use to download remote modules. Default is `direct`, which means `git clone` and similar.
43
43
44
44
replacements
45
-
: (`string`) Primarily useful for local module development, a comma-separated list of mappings from module paths to directories. Paths may be absolute or relative to the [`themesDir`].
45
+
: (`string`) Primarily useful for local module development, a comma-separated list of mappings from module paths to directories. Paths may be absolute or relative to the [`themesDir`][].
46
46
47
47
{{< code-toggle file=hugo >}}
48
48
[module]
@@ -110,7 +110,7 @@ noVendor
110
110
: (`bool`) Whether to disable vendoring for this import. This setting is restricted to the main project. Default is `false`.
111
111
112
112
path
113
-
: (`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`].
113
+
: (`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`][].
114
114
115
115
version
116
116
: {{< new-in 0.150.0 />}}
@@ -121,15 +121,15 @@ version
121
121
{{% glossary-term mount %}}
122
122
123
123
> [!important]
124
-
> If you define one or more mounts to map a file system path to a component path, do not use these legacy configuration settings: [`archetypeDir`], [`assetDir`], [`contentDir`], [`dataDir`], [`i18nDir`], [`layoutDir`], or [`staticDir`].
125
-
126
-
[`archetypeDir`]: /configuration/all/
127
-
[`assetDir`]: /configuration/all/
128
-
[`contentDir`]: /configuration/all/
129
-
[`dataDir`]: /configuration/all/
130
-
[`i18nDir`]: /configuration/all/
131
-
[`layoutDir`]: /configuration/all/
132
-
[`staticDir`]: /configuration/all/
124
+
> If you define one or more mounts to map a file system path to a component path, do not use these legacy configuration settings: [`archetypeDir`][], [`assetDir`][], [`contentDir`][], [`dataDir`][], [`i18nDir`][], [`layoutDir`][], or [`staticDir`][].
0 commit comments