Skip to content

Commit

Permalink
docs: change command links to /commands
Browse files Browse the repository at this point in the history
These links now reflect the reality of the filesystem and their paths.
  • Loading branch information
ethomson committed Oct 5, 2020
1 parent dc4c40e commit fde4236
Show file tree
Hide file tree
Showing 71 changed files with 229 additions and 229 deletions.
6 changes: 3 additions & 3 deletions docs/content/commands/npm-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Management of teams and team memberships is done with the `npm team` command.
### See Also
* [`libnpmaccess`](https://npm.im/libnpmaccess)
* [npm team](/cli-commands/npm-team)
* [npm publish](/cli-commands/npm-publish)
* [npm config](/cli-commands/npm-config)
* [npm team](/commands/npm-team)
* [npm publish](/commands/npm-publish)
* [npm config](/commands/npm-config)
* [npm registry](/using-npm/registry)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-adduser.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ username/password entry in legacy npm.
### See Also

* [npm registry](/using-npm/registry)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [npm owner](/cli-commands/npm-owner)
* [npm whoami](/cli-commands/npm-whoami)
* [npm owner](/commands/npm-owner)
* [npm whoami](/commands/npm-whoami)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ configuration setting.

### See Also

* [npm install](/cli-commands/npm-install)
* [npm install](/commands/npm-install)
* [package-locks](/configuring-npm/package-locks)
* [config](/using-npm/config)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-bin.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Print the folder where npm will install executables.

### See Also

* [npm prefix](/cli-commands/npm-prefix)
* [npm root](/cli-commands/npm-root)
* [npm prefix](/commands/npm-prefix)
* [npm root](/commands/npm-root)
* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ The base URL of the npm package registry.

### See Also

* [npm docs](/cli-commands/npm-docs)
* [npm view](/cli-commands/npm-view)
* [npm publish](/cli-commands/npm-publish)
* [npm docs](/commands/npm-docs)
* [npm view](/commands/npm-view)
* [npm publish](/commands/npm-publish)
* [npm registry](/using-npm/registry)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [package.json](/configuring-npm/package-json)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ directly, run:

### See Also

* [npm install](/cli-commands/npm-install)
* [npm link](/cli-commands/npm-link)
* [npm install](/commands/npm-install)
* [npm link](/commands/npm-link)
* [npm scripts](/using-npm/scripts)
* [package.json](/configuring-npm/package-json)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Just use `npm install` now to do what `npm bundle` used to do.

### See Also

* [npm install](/cli-commands/npm-install)
* [npm install](/commands/npm-install)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ The root cache folder.
### See Also

* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [npm install](/cli-commands/npm-install)
* [npm publish](/cli-commands/npm-publish)
* [npm pack](/cli-commands/npm-pack)
* [npm install](/commands/npm-install)
* [npm publish](/commands/npm-publish)
* [npm pack](/commands/npm-pack)
* https://npm.im/cacache
* https://npm.im/pacote
4 changes: 2 additions & 2 deletions docs/content/commands/npm-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cache:

### Description

This command is similar to [`npm install`](/cli-commands/npm-install), except it's meant to be used in
This command is similar to [`npm install`](/commands/npm-install), except it's meant to be used in
automated environments such as test platforms, continuous integration, and
deployment -- or any situation where you want to make sure you're doing a clean
install of your dependencies. It can be significantly faster than a regular npm
Expand All @@ -59,5 +59,5 @@ In short, the main differences between using `npm install` and `npm ci` are:

### See Also

* [npm install](/cli-commands/npm-install)
* [npm install](/commands/npm-install)
* [package-locks](/configuring-npm/package-locks)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ completions based on the arguments.
### See Also

* [npm developers](/using-npm/developers)
* [npm](/cli-commands/npm)
* [npm](/commands/npm)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ global config.
### See Also

* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [package.json](/configuring-npm/package-json)
* [npmrc](/configuring-npm/npmrc)
* [npm](/cli-commands/npm)
* [npm](/commands/npm)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ result in new modules being installed.

### See Also

* [npm ls](/cli-commands/npm-ls)
* [npm update](/cli-commands/npm-update)
* [npm install](/cli-commands/npm-install)
* [npm ls](/commands/npm-ls)
* [npm update](/commands/npm-update)
* [npm install](/commands/npm-install)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-deprecate.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ format an empty string.

### See Also

* [npm publish](/cli-commands/npm-publish)
* [npm publish](/commands/npm-publish)
* [npm registry](/using-npm/registry)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-dist-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ begin with a number or the letter `v`.

### See Also

* [npm publish](/cli-commands/npm-publish)
* [npm install](/cli-commands/npm-install)
* [npm dedupe](/cli-commands/npm-dedupe)
* [npm publish](/commands/npm-publish)
* [npm install](/commands/npm-install)
* [npm dedupe](/commands/npm-dedupe)
* [npm registry](/using-npm/registry)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ The base URL of the npm package registry.
### See Also
* [npm view](/cli-commands/npm-view)
* [npm publish](/cli-commands/npm-publish)
* [npm view](/commands/npm-view)
* [npm publish](/commands/npm-publish)
* [npm registry](/using-npm/registry)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [package.json](/configuring-npm/package-json)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ cache, you should probably run `npm cache clean` and reset the cache.

### See Also

* [npm bugs](/cli-commands/npm-bugs)
* [npm help](/cli-commands/npm-help)
* [npm ping](/cli-commands/npm-ping)
* [npm bugs](/commands/npm-bugs)
* [npm help](/commands/npm-help)
* [npm ping](/commands/npm-ping)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The command to run for `npm edit` or `npm config edit`.
### See Also

* [npm folders](/configuring-npm/folders)
* [npm explore](/cli-commands/npm-explore)
* [npm install](/cli-commands/npm-install)
* [npm config](/cli-commands/npm-config)
* [npm explore](/commands/npm-explore)
* [npm install](/commands/npm-install)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-explore.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The shell to run for the `npm explore` command.
### See Also

* [npm folders](/configuring-npm/folders)
* [npm edit](/cli-commands/npm-edit)
* [npm rebuild](/cli-commands/npm-rebuild)
* [npm build](/cli-commands/npm-build)
* [npm install](/cli-commands/npm-install)
* [npm edit](/commands/npm-edit)
* [npm rebuild](/commands/npm-rebuild)
* [npm build](/commands/npm-build)
* [npm install](/commands/npm-install)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-fund.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ If there are multiple funding sources, which 1-indexed source URL to open.

## See Also

* [npm docs](/cli-commands/npm-docs)
* [npm config](/cli-commands/npm-config)
* [npm install](/cli-commands/npm-install)
* [npm ls](/cli-commands/npm-ls)
* [npm docs](/commands/npm-docs)
* [npm config](/commands/npm-config)
* [npm install](/commands/npm-install)
* [npm ls](/commands/npm-ls)

4 changes: 2 additions & 2 deletions docs/content/commands/npm-help-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ If false, then help-search will just list out the help topics found.

### See Also

* [npm](/cli-commands/npm)
* [npm help](/cli-commands/npm-help)
* [npm](/commands/npm)
* [npm help](/commands/npm-help)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Set to `"browser"` to view html help content in the default web browser.

### See Also

* [npm](/cli-commands/npm)
* [npm](/commands/npm)
* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [package.json](/configuring-npm/package-json)
* [npm help-search](/cli-commands/npm-help-search)
* [npm help-search](/commands/npm-help-search)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ will create a scoped package.

* <https://github.com/isaacs/init-package-json>
* [package.json](/configuring-npm/package-json)
* [npm version](/cli-commands/npm-version)
* [npm version](/commands/npm-version)
* [npm scope](/using-npm/scope)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-install-ci-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ This command runs an `npm ci` followed immediately by an `npm test`.

### See Also

* [npm ci](/cli-commands/npm-ci)
* [npm test](/cli-commands/npm-test)
* [npm ci](/commands/npm-ci)
* [npm test](/commands/npm-test)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-install-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ takes exactly the same arguments as `npm install`.

### See Also

* [npm install](/cli-commands/npm-install)
* [npm test](/cli-commands/npm-test)
* [npm install](/commands/npm-install)
* [npm test](/commands/npm-test)
24 changes: 12 additions & 12 deletions docs/content/commands/npm-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ common options: [-P|--save-prod|-D|--save-dev|-O|--save-optional] [-E|--save-exa
This command installs a package, and any packages that it depends on. If the
package has a package-lock or shrinkwrap file, the installation of dependencies
will be driven by that, with an `npm-shrinkwrap.json` taking precedence if both
files exist. See [package-lock.json](/configuring-npm/package-lock-json) and [`npm shrinkwrap`](/cli-commands/npm-shrinkwrap).
files exist. See [package-lock.json](/configuring-npm/package-lock-json) and [`npm shrinkwrap`](/commands/npm-shrinkwrap).

A `package` is:

* a) a folder containing a program described by a [`package.json`](/configuring-npm/package-json) file
* b) a gzipped tarball containing (a)
* c) a url that resolves to (b)
* d) a `<name>@<version>` that is published on the registry (see [`registry`](/using-npm/registry)) with (c)
* e) a `<name>@<tag>` (see [`npm dist-tag`](/cli-commands/npm-dist-tag)) that points to (d)
* e) a `<name>@<tag>` (see [`npm dist-tag`](/commands/npm-dist-tag)) that points to (d)
* f) a `<name>` that has a "latest" tag satisfying (e)
* g) a `<git remote url>` that resolves to (a)

Expand Down Expand Up @@ -499,17 +499,17 @@ affects a real use-case, it will be investigated.
### See Also
* [npm folders](/configuring-npm/folders)
* [npm update](/cli-commands/npm-update)
* [npm audit](/cli-commands/npm-audit)
* [npm fund](/cli-commands/npm-fund)
* [npm link](/cli-commands/npm-link)
* [npm rebuild](/cli-commands/npm-rebuild)
* [npm update](/commands/npm-update)
* [npm audit](/commands/npm-audit)
* [npm fund](/commands/npm-fund)
* [npm link](/commands/npm-link)
* [npm rebuild](/commands/npm-rebuild)
* [npm scripts](/using-npm/scripts)
* [npm build](/cli-commands/npm-build)
* [npm config](/cli-commands/npm-config)
* [npm build](/commands/npm-build)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [npm registry](/using-npm/registry)
* [npm dist-tag](/cli-commands/npm-dist-tag)
* [npm uninstall](/cli-commands/npm-uninstall)
* [npm shrinkwrap](/cli-commands/npm-shrinkwrap)
* [npm dist-tag](/commands/npm-dist-tag)
* [npm uninstall](/commands/npm-uninstall)
* [npm shrinkwrap](/commands/npm-shrinkwrap)
* [package.json](/configuring-npm/package-json)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ npm link @myorg/privatepackage

* [npm developers](/using-npm/developers)
* [package.json](/configuring-npm/package-json)
* [npm install](/cli-commands/npm-install)
* [npm install](/commands/npm-install)
* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-logout.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ npm logout --scope=@myco

### See Also

* [npm adduser](/cli-commands/npm-adduser)
* [npm adduser](/commands/npm-adduser)
* [npm registry](/using-npm/registry)
* [npm config](/cli-commands/npm-config)
* [npm whoami](/cli-commands/npm-whoami)
* [npm config](/commands/npm-config)
* [npm whoami](/commands/npm-whoami)
12 changes: 6 additions & 6 deletions docs/content/commands/npm-ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ Set it to false in order to use all-ansi output.

### See Also

* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [npm folders](/configuring-npm/folders)
* [npm install](/cli-commands/npm-install)
* [npm link](/cli-commands/npm-link)
* [npm prune](/cli-commands/npm-prune)
* [npm outdated](/cli-commands/npm-outdated)
* [npm update](/cli-commands/npm-update)
* [npm install](/commands/npm-install)
* [npm link](/commands/npm-link)
* [npm prune](/commands/npm-prune)
* [npm outdated](/commands/npm-outdated)
* [npm update](/commands/npm-update)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-outdated.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Max depth for checking dependency tree.

### See Also

* [npm update](/cli-commands/npm-update)
* [npm dist-tag](/cli-commands/npm-dist-tag)
* [npm update](/commands/npm-update)
* [npm dist-tag](/commands/npm-dist-tag)
* [npm registry](/using-npm/registry)
* [npm folders](/configuring-npm/folders)
4 changes: 2 additions & 2 deletions docs/content/commands/npm-owner.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ with `--otp`.

### See Also

* [npm publish](/cli-commands/npm-publish)
* [npm publish](/commands/npm-publish)
* [npm registry](/using-npm/registry)
* [npm adduser](/cli-commands/npm-adduser)
* [npm adduser](/commands/npm-adduser)
* [npm disputes](/using-npm/disputes)
6 changes: 3 additions & 3 deletions docs/content/commands/npm-pack.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ actually packing anything. Reports on what would have gone into the tarball.

### See Also

* [npm cache](/cli-commands/npm-cache)
* [npm publish](/cli-commands/npm-publish)
* [npm config](/cli-commands/npm-config)
* [npm cache](/commands/npm-cache)
* [npm publish](/commands/npm-publish)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-ping.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Ping error: {*Detail about error}

### See Also

* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
8 changes: 4 additions & 4 deletions docs/content/commands/npm-prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ to contain a `package.json` file or `node_modules` directory, unless `-g` is
also specified.

If `-g` is specified, this will be the value of the global prefix. See
[`npm config`](/cli-commands/npm-config) for more detail.
[`npm config`](/commands/npm-config) for more detail.

### See Also

* [npm root](/cli-commands/npm-root)
* [npm bin](/cli-commands/npm-bin)
* [npm root](/commands/npm-root)
* [npm bin](/commands/npm-bin)
* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
2 changes: 1 addition & 1 deletion docs/content/commands/npm-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ available on non npmjs.com registries.

### See Also

* [npm config](/cli-commands/npm-config)
* [npm config](/commands/npm-config)
Loading

0 comments on commit fde4236

Please sign in to comment.