@hrefcl/apidoc - v4.0.5
    Preparing search index...

    Function process

    • Process options by merging with defaults, validating configuration paths, and normalizing settings such as destinations, source paths, and line endings.

      Parameters

      • options: Partial<ApiDocOptions>

        User provided options

        • config

          Path to the configuration file

        • src

          Array of source paths to process. May be overridden by the configuration file settings.

        • dest

          Output directory path

        • template

          Template directory path

        • lineEnding

          Line-ending format ('CRLF', 'CR', or 'LF')

      Returns ApiDocOptions

      Normalized options object

      If the provided configuration file path is a directory instead of a file.