Files
medusa-store/www/utils/packages/react-docs-generator
Shahed Nasser 6e65158af3 docs-util: Upgrade typedoc to 0.26 (#7853)
Upgrade typedoc to v0.26 + make changes based on the update

Note: This update produces an error when generating model references when the models use the `createPsqlIndexStatementHelper` decorator. As this isn't a breaking error, and as we'll move to DML in the future, it's not necessary to spend time on a fix.
2024-06-27 10:52:44 +00:00
..
2024-05-06 09:13:50 +03:00
2024-05-06 09:13:50 +03:00

react-docs-generator

Tool that generates documentation for React components. It's built with react-docgen and Typedoc.

Usage

yarn start --src ./path/to/src --output ./path/to/output/dir

Options

  • --src <srcPath>: (required) A path to a file containing React components or a directory to scan its sub-directories and files for components.
  • --output <outputPath>: (required) Path to the directory to store the output in.
  • --clean: If used, the output directory is emptied before generating the new output.
  • --tsconfigPath <path>: Path to a TS Config file which is used by Typedoc. By default, the file at www/utils/packages/typedoc-config/ui.json is used.
  • --disable-typedoc: Whether to disable Typedoc and generate the spec file using react-docgen only. Useful for debugging.
  • --verbose-typedoc: Whether to show the output of Typedoc. By default, it's disabeld.