diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-09-22 16:43:35 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-10-23 20:25:57 +0300 |
commit | 65223650670851141d5634bff3a86cb8ca87f9fb (patch) | |
tree | 2ca4e7b30907f57492edfe17d6f5821e882228ad /scripts | |
parent | 09ca74cb6f90de0601a66b7ca2229828658ae8b8 (diff) |
docs: change command links to `/commands`
These links now reflect the reality of the filesystem and their paths.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/docs-build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docs-build.js b/scripts/docs-build.js index 89471a1f1..a1540ebb9 100644 --- a/scripts/docs-build.js +++ b/scripts/docs-build.js @@ -29,7 +29,7 @@ fs.readFile(src, 'utf8', function (err, data) { var result = data.replace(/@VERSION@/g, npm.version) .replace(/^---\n([\s\S]+\n)---/, frontmatter) - .replace(/\[([^\]]+)\]\(\/cli-commands\/([^)]+)\)/g, replacer) + .replace(/\[([^\]]+)\]\(\/commands\/([^)]+)\)/g, replacer) .replace(/\[([^\]]+)\]\(\/configuring-npm\/([^)]+)\)/g, replacer) .replace(/\[([^\]]+)\]\(\/using-npm\/([^)]+)\)/g, replacer) .trim() |