Skip to content

Commit 2c9b871

Browse files
wangsaiwraithgar
authored andcommitted
fix(docs): fix broken links
PR-URL: #3182 Credit: @wangsai Close: #3182 Reviewed-by: @wraithgar
1 parent 701627c commit 2c9b871

File tree

12 files changed

+18
-25
lines changed

12 files changed

+18
-25
lines changed

docs/content/commands/npm-ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm ci
1212

1313
### Description
1414

15-
This command is similar to [`npm install`](/cli-commands/install), except
15+
This command is similar to [`npm install`](/commands/npm-install), except
1616
it's meant to be used in automated environments such as test platforms,
1717
continuous integration, and deployment -- or any situation where you want
1818
to make sure you're doing a clean install of your dependencies.

docs/content/commands/npm-dedupe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Using `npm find-dupes` will run the command in `--dry-run` mode.
7474

7575
### See Also
7676

77-
* [npm find-dupes](/cli-commands/find-dupes)
78-
* [npm ls](/cli-commands/ls)
79-
* [npm update](/cli-commands/update)
80-
* [npm install](/cli-commands/install)
77+
* [npm find-dupes](/commands/npm-find-dupes)
78+
* [npm ls](/commands/npm-ls)
79+
* [npm update](/commands/npm-update)
80+
* [npm install](/commands/npm-install)

docs/content/commands/npm-deprecate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ format an empty string.
4444

4545
* [npm publish](/commands/npm-publish)
4646
* [npm registry](/using-npm/registry)
47-
* [npm owner](/cli-commands/owner)
48-
* [npm owner](/cli-commands/adduser)
47+
* [npm owner](/commands/npm-owner)
48+
* [npm owner](/commands/npm-adduser)

docs/content/commands/npm-explore.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ The shell to run for the `npm explore` command.
4444
* [npm folders](/configuring-npm/folders)
4545
* [npm edit](/commands/npm-edit)
4646
* [npm rebuild](/commands/npm-rebuild)
47-
* [npm build](/commands/npm-build)
4847
* [npm install](/commands/npm-install)

docs/content/commands/npm-find-dupes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ duplications, without actually changing the package tree.
1717

1818
### See Also
1919

20-
* [npm dedupe](/cli-commands/dedupe)
21-
* [npm ls](/cli-commands/ls)
22-
* [npm update](/cli-commands/update)
23-
* [npm install](/cli-commands/install)
20+
* [npm dedupe](/commands/npm-dedupe)
21+
* [npm ls](/commands/npm-ls)
22+
* [npm update](/commands/npm-update)
23+
* [npm install](/commands/npm-install)
2424

docs/content/commands/npm-install.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ the specific folder structures that npm creates.
538538
* [npm link](/commands/npm-link)
539539
* [npm rebuild](/commands/npm-rebuild)
540540
* [npm scripts](/using-npm/scripts)
541-
* [npm build](/commands/npm-build)
542541
* [npm config](/commands/npm-config)
543542
* [npmrc](/configuring-npm/npmrc)
544543
* [npm registry](/using-npm/registry)

docs/content/commands/npm-unpublish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This removes a package version from the registry, deleting its entry and
3434
removing the tarball.
3535

3636
The npm registry will return an error if you are not [logged
37-
in](/commands/npm-login).
37+
in](/commands/npm-adduser).
3838

3939
If you do not specify a version or if you remove all of a package's
4040
versions then the registry will remove the root package entry entirely.
@@ -52,4 +52,4 @@ passed.
5252
* [npm registry](/using-npm/registry)
5353
* [npm adduser](/commands/npm-adduser)
5454
* [npm owner](/commands/npm-owner)
55-
* [npm login](/commands/npm-login)
55+
* [npm login](/commands/npm-adduser)

docs/content/commands/npm-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ npm view express contributors.name contributors.email
7373

7474
"Person" fields are shown as a string if they would be shown as an
7575
object. So, for example, this will show the list of `npm` contributors in
76-
the shortened string format. (See [`package.json`](/configuring-npm/package.json) for more on this.)
76+
the shortened string format. (See [`package.json`](/configuring-npm/package-json) for more on this.)
7777

7878
```bash
7979
npm view npm contributors

docs/content/commands/npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ following help topics:
107107
Create an account or log in. When you do this, npm will store
108108
credentials in the user config file config file.
109109
* publish:
110-
Use the [`npm publish`](/commands/npm-publish`) command to upload your
110+
Use the [`npm publish`](/commands/npm-publish) command to upload your
111111
code to the registry.
112112

113113
#### Configuration

docs/content/configuring-npm/folders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ not be included in the package tarball.
205205
206206
This allows a package maintainer to install all of their dependencies
207207
(and dev dependencies) locally, but only re-publish those items that
208-
cannot be found elsewhere. See [`package.json`](/configuring-npm/package.json) for more information.
208+
cannot be found elsewhere. See [`package.json`](/configuring-npm/package-json) for more information.
209209
210210
### See also
211211

0 commit comments

Comments
 (0)