Skip to content

Commit

Permalink
Fix broken fragment links
Browse files Browse the repository at this point in the history
In links with fragments like `#checking-your-version-of-npm-and-node-js` the `node-js` portion doesn't work and should be `nodejs`. So for example, the following link currently on the site does NOT work (i.e. it won't scroll to relevant section):

> https://docs.npmjs.com/cli/v9/configuring-npm/install#checking-your-version-of-npm-and-node-js

...but this one (as implemented by this fix) DOES work:

> https://docs.npmjs.com/cli/v9/configuring-npm/install#checking-your-version-of-npm-and-nodejs
  • Loading branch information
ericmutta authored and lukekarrys committed Jan 1, 2023
1 parent b965ebf commit 054226c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/lib/content/configuring-npm/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ run npm packages globally.
### Overview

- [Checking your version of npm and
Node.js](#checking-your-version-of-npm-and-node-js)
Node.js](#checking-your-version-of-npm-and-nodejs)
- [Using a Node version manager to install Node.js and
npm](#using-a-node-version-manager-to-install-node-js-and-npm)
npm](#using-a-node-version-manager-to-install-nodejs-and-npm)
- [Using a Node installer to install Node.js and
npm](#using-a-node-installer-to-install-node-js-and-npm)
npm](#using-a-node-installer-to-install-nodejs-and-npm)

### Checking your version of npm and Node.js

Expand Down

0 comments on commit 054226c

Please sign in to comment.