Skip to content

Commit b3c0399

Browse files
committed
cli: generate man-page
1 parent 3861ecc commit b3c0399

File tree

7 files changed

+3096
-534
lines changed

7 files changed

+3096
-534
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,9 @@ doc-only: tools/doc/node_modules \
807807
.PHONY: doc
808808
doc: $(NODE_EXE) doc-only ## Build Node.js, and then build the documentation with the new binary.
809809

810+
doc/node.1: doc/api/cli.md
811+
$(NODE) tools/lint-md/node_modules/@node-core/api-docs-tooling/bin/cli.mjs -t man-page -i doc/api/cli.md -o doc/node.1
812+
810813
out/doc:
811814
mkdir -p $@
812815
cp doc/node-config-schema.json $@

0 commit comments

Comments
 (0)