@node-core/doc-kit
v2.0.1
Published
Node.js-specific generators for @doc-kit/core: api-links, addon-verify, and man-page
Readme
@node-core/doc-kit
The Node.js-specific generators for doc-kit: outputs consumed by the Node.js project's own build, release, and documentation processes. If you are not building Node.js itself (or something shaped exactly like it), you probably want one of the general-purpose generators instead.
Install
npm install --save-dev @doc-kit/core @node-core/doc-kitGenerators
| Target | Output |
| -------------- | ----------------------------------------------------------------------------------------- |
| man-page | The node.1 manual page, from the CLI options documented in cli.md. |
| api-links | A mapping of API symbols to their source locations, powering source links on nodejs.org. |
| addon-verify | Extracted C++ addon code samples from addons.md, arranged for compilation by the tests. |
Usage
npx @doc-kit/cli generate -t man-page -i "doc/api/cli.md" -o outSee the doc-kit documentation for configuration and the full generator references.
