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 /Makefile | |
parent | 09ca74cb6f90de0601a66b7ca2229828658ae8b8 (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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 $< $@ |