Skip to content

youneshenni/generate-react-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React documentation generator

A React documentation generator CLI utility.

How to install

npm install -g generate-react-doc

Usage

generate-react-doc [TARGETS] [DOCS_FOLDER]

Arguments

  • TARGETS: The files/folders you'd like to generate documentation from
  • DOCS_FOLDER: The destination folder for the resulting documentation files.

Generating documentation

This CLI tool makes use of react-docgen and react-docgen-markdown-renderer in order to generate documentation files. For more info on how to format your components in order to generate those docs, please refer to react-docgen