Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Latest commit

 

History

History

documentate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Generate API references for a module in Markdown format, using dts-apigen.

Options

  • --output <directory|file> The output dir for documentation files.
  • --mode [mode] The mode to use for markdown documentation. Accepted values are module and files.
  • --header [content] A custom header for markdown documentation.
  • --footer [content] A custom footer for markdown documentation.

Usage

# Generate API reference for the current project (o for all projects if monorepo).
$ rna documentate --output API.md

# Generate API reference for multiple files.
$ rna documentate ./module1/index.js ./module2/index.js --output docs