Skip to content

Parser not works anymore if useReadMe is disabled #34

@MCMicS

Description

@MCMicS

Parser not works because it use wrong basedir for api lookup

  const apiDocsPath = options.baseDirectory || path.resolve('./', 'docs', 'api');
  const structuresPath = path.resolve(apiDocsPath, 'structures');

Leads to wrong api base Path.

{ [Error: ENOENT: no such file or directory, scandir 'electron-master/structures']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'scandir',
  path:
   'electron-master/structures' }

commit: d8bec24

const apiDocsPath = options.baseDirectory || path.resolve('./', 'docs', 'api');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions