diff options
author | nlf <quitlahok@gmail.com> | 2022-04-14 21:12:13 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-04-14 21:14:56 +0300 |
commit | 1f9eabac4bb19671a5d508be4b5cc54c9c83ac66 (patch) | |
tree | 9d5298c62c18acd7ef8d15d83e333eeda64cdc6b /Makefile | |
parent | ec065b22bd61343a6240c386d66f83a8325774d1 (diff) |
chore: make sure to build markdown docs for all commands as part of the docs target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |