JSPM

@vltansky/generate-wds-docs

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q32502F
    • License MIT

    CLI tool to generate documentation for Wix Design System components

    Package Exports

    • @vltansky/generate-wds-docs
    • @vltansky/generate-wds-docs/src/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vltansky/generate-wds-docs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @vltansky/generate-wds-docs

    A CLI tool to generate documentation for Wix Design System components by fetching data from the Wix Style React API.

    Installation

    npm install -g @vltansky/generate-wds-docs

    Usage

    generate-wds-docs [options]

    Options

    • -o, --output <dir> - Output directory path (default: "./docs")

    Example

    # Using default options
    generate-wds-docs
    
    # Specifying custom output directory
    generate-wds-docs -o ./my-docs

    Output

    The tool will:

    1. Fetch component data from the Wix Style React API
    2. Generate a README.md file with the table of contents
    3. Create individual markdown files for each component
    4. All files will be created in the specified output directory

    Generated Documentation Structure

    Each component documentation includes:

    • Description
    • Demo examples
    • Developer examples
    • Feature examples
    • Common use cases
    • Do's and Don'ts