Skip to content

Commit 98136b5

Browse files
committed
cli: generate man-page
1 parent 669b692 commit 98136b5

File tree

7 files changed

+2788
-526
lines changed

7 files changed

+2788
-526
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,9 @@ doc-only: tools/doc/node_modules \
767767
.PHONY: doc
768768
doc: $(NODE_EXE) doc-only ## Build Node.js, and then build the documentation with the new binary.
769769

770+
doc/node.1: doc/api/cli.md
771+
$(NODE) tools/lint-md/node_modules/.bin/api-docs-tooling -t man-page -i doc/api/cli.md -o doc/node.1
772+
770773
out/doc:
771774
mkdir -p $@
772775

0 commit comments

Comments
 (0)