Skip to content
Browse files
chore: make sure to build markdown docs for all commands as part of t…
…he docs target
  • Loading branch information
nlf authored and lukekarrys committed Apr 14, 2022
1 parent ec065b2 commit 1f9eabac4bb19671a5d508be4b5cc54c9c83ac66
Showing 1 changed file with 3 additions and 1 deletion.
@@ -24,9 +24,11 @@ misc_mandocs = $(shell find docs/content/using-npm -name '*.md' \

mandocs = $(cli_mandocs) $(files_mandocs) $(misc_mandocs)

markdown_docs = $(shell for file in $(find lib/commands -name '*.js'); do echo docs/content/commands/npm-$(basename $file .js).md; done)

all: docs

docs: mandocs htmldocs
docs: mandocs htmldocs $(markdown_docs)

# don't regenerate the snapshot if we're generating
# snapshots, since presumably we just did that.

0 comments on commit 1f9eaba

Please sign in to comment.