Skip to content

Commit b9800b4

Browse files
committed
docs: use commands not cli-commands
Avoid needless and unnecessary redundancy.
1 parent f6729b6 commit b9800b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
66

77
markdowns = $(shell find docs -name '*.md' | grep -v 'index') README.md
88

9-
cli_mandocs = $(shell find docs/content/cli-commands -name '*.md' \
9+
cli_mandocs = $(shell find docs/content/commands -name '*.md' \
1010
|sed 's|.md|.1|g' \
11-
|sed 's|docs/content/cli-commands/|man/man1/|g' ) \
11+
|sed 's|docs/content/commands/|man/man1/|g' ) \
1212
man/man1/npm-README.1 \
1313
man/man1/npx.1
1414

@@ -80,7 +80,7 @@ man/man1/npm-README.1: README.md scripts/docs-build.js package.json $(build-doc-
8080
@[ -d man/man1 ] || mkdir -p man/man1
8181
node scripts/docs-build.js $< $@
8282

83-
man/man1/%.1: docs/content/cli-commands/%.md scripts/docs-build.js package.json $(build-doc-tools)
83+
man/man1/%.1: docs/content/commands/%.md scripts/docs-build.js package.json $(build-doc-tools)
8484
@[ -d man/man1 ] || mkdir -p man/man1
8585
node scripts/docs-build.js $< $@
8686

0 commit comments

Comments
 (0)