Skip to content

Commit

Permalink
cli: generate man-page
Browse files Browse the repository at this point in the history
  • Loading branch information
RedYetiDev committed Nov 16, 2024
1 parent 669b692 commit 98136b5
Show file tree
Hide file tree
Showing 7 changed files with 2,788 additions and 526 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,9 @@ doc-only: tools/doc/node_modules \
.PHONY: doc
doc: $(NODE_EXE) doc-only ## Build Node.js, and then build the documentation with the new binary.

doc/node.1: doc/api/cli.md
$(NODE) tools/lint-md/node_modules/.bin/api-docs-tooling -t man-page -i doc/api/cli.md -o doc/node.1

out/doc:
mkdir -p $@

Expand Down
Loading

0 comments on commit 98136b5

Please sign in to comment.