Skip to content

Commit 91e7240

Browse files
authored
content: Add missing fragments to links in the module mounts description
1 parent 2f6b4a5 commit 91e7240

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

‎content/en/configuration/module.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ proxy
4242
: (`string`) The proxy server to use to download remote modules. Default is `direct`, which means `git clone` and similar.
4343

4444
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`][].
4646

4747
{{< code-toggle file=hugo >}}
4848
[module]
@@ -110,7 +110,7 @@ noVendor
110110
: (`bool`) Whether to disable vendoring for this import. This setting is restricted to the main project. Default is `false`.
111111

112112
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`][].
114114

115115
version
116116
: {{< new-in 0.150.0 />}}
@@ -121,15 +121,15 @@ version
121121
{{% glossary-term mount %}}
122122

123123
> [!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`][].
125+
126+
[`archetypeDir`]: /configuration/all/#archetypedir
127+
[`assetDir`]: /configuration/all/#assetdir
128+
[`contentDir`]: /configuration/all/#contentdir
129+
[`dataDir`]: /configuration/all/#datadir
130+
[`i18nDir`]: /configuration/all/#i18ndir
131+
[`layoutDir`]: /configuration/all/#layoutdir
132+
[`staticDir`]: /configuration/all/#staticdir
133133

134134
### Default mounts
135135

0 commit comments

Comments
 (0)