Skip to content

Commit 97c32ed

Browse files
authored
docs: remove link to cache command (#5637)
The cache command itself contains this config making it a circular reference
1 parent 8b072dc commit 97c32ed

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

docs/content/commands/npm-cache.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ verify`.
8787
* Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm`
8888
* Type: Path
8989

90-
The location of npm's cache directory.
90+
The location of npm's cache directory.
9191

9292
<!-- automatically generated, do not edit manually -->
9393
<!-- see lib/utils/config/definitions.js -->

docs/content/using-npm/config.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,7 @@ See also the `strict-ssl` config.
307307
* Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm`
308308
* Type: Path
309309

310-
The location of npm's cache directory. See [`npm
311-
cache`](/commands/npm-cache)
310+
The location of npm's cache directory.
312311

313312
<!-- automatically generated, do not edit manually -->
314313
<!-- see lib/utils/config/definitions.js -->

lib/utils/config/definitions.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,7 @@ define('cache', {
326326
`,
327327
type: path,
328328
description: `
329-
The location of npm's cache directory. See [\`npm
330-
cache\`](/commands/npm-cache)
329+
The location of npm's cache directory.
331330
`,
332331
flatten (key, obj, flatOptions) {
333332
flatOptions.cache = join(obj.cache, '_cacache')

tap-snapshots/test/lib/utils/config/definitions.js.test.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for cache
336336
* Default: Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
337337
* Type: Path
338338
339-
The location of npm's cache directory. See [\`npm
340-
cache\`](/commands/npm-cache)
339+
The location of npm's cache directory.
341340
`
342341

343342
exports[`test/lib/utils/config/definitions.js TAP > config description for cache-max 1`] = `

tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ See also the \`strict-ssl\` config.
180180
* Default: Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
181181
* Type: Path
182182
183-
The location of npm's cache directory. See [\`npm
184-
cache\`](/commands/npm-cache)
183+
The location of npm's cache directory.
185184
186185
<!-- automatically generated, do not edit manually -->
187186
<!-- see lib/utils/config/definitions.js -->

0 commit comments

Comments
 (0)