Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-09-22 16:43:35 +0300
committerisaacs <i@izs.me>2020-10-23 20:25:57 +0300
commit65223650670851141d5634bff3a86cb8ca87f9fb (patch)
tree2ca4e7b30907f57492edfe17d6f5821e882228ad /Makefile
parent09ca74cb6f90de0601a66b7ca2229828658ae8b8 (diff)
docs: change command links to `/commands`
These links now reflect the reality of the filesystem and their paths.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 973934e80..01d0b0361 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,9 @@ BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
markdowns = $(shell find docs -name '*.md' | grep -v 'index') README.md
-cli_mandocs = $(shell find docs/content/cli-commands -name '*.md' \
+cli_mandocs = $(shell find docs/content/commands -name '*.md' \
|sed 's|.md|.1|g' \
- |sed 's|docs/content/cli-commands/|man/man1/|g' ) \
+ |sed 's|docs/content/commands/|man/man1/|g' ) \
man/man1/npm-README.1
files_mandocs = $(shell find docs/content/configuring-npm -name '*.md' \
@@ -79,7 +79,7 @@ man/man1/npm-README.1: README.md scripts/docs-build.js package.json $(build-doc-
@[ -d man/man1 ] || mkdir -p man/man1
node scripts/docs-build.js $< $@
-man/man1/%.1: docs/content/cli-commands/%.md scripts/docs-build.js package.json $(build-doc-tools)
+man/man1/%.1: docs/content/commands/%.md scripts/docs-build.js package.json $(build-doc-tools)
@[ -d man/man1 ] || mkdir -p man/man1
node scripts/docs-build.js $< $@