typedoc2md/typedoc-plugin-markdown

Could not write when excludeScopesInPaths true.

fenilli opened this issue · 1 comments

What package is the bug related to?

typedoc-plugin-markdown

Describe the issue

When adding "excludeScopesInPaths": true, the project gves:

[error] Could not write C:\Users\gusta\Documents\Projects\docs-ui\content\api-reference
[error] Documentation could not be generated due to the errors above.

TypeDoc configuration

{
  "entryPoints": [
    "packages/core",
    "packages/vue",
    "packages/addons",
    "packages/i18n",
    "packages/inputs",
    "packages/observer",
    "packages/utils",
    "packages/validation",
    "packages/zod",
  ],
  "plugin": [
    "typedoc-plugin-markdown",
  ],
  "entryPointStrategy": "packages",
  "excludeNotDocumented": true,
  "excludeInternal": true,
  "excludePrivate": true,
  "readme": "none",
  // typedoc-plugin-markdown
  "entryFileName": "index",
  "enumMembersFormat": "table",
  "parametersFormat": "table",
  "propertiesFormat": "table",
  "typeDeclarationFormat": "table",
  "indexFormat": "table",
  "mergeReadme": true,
  "excludeScopesInPaths": true,
}

Expected behavior

It is expected to create a flat structure without the @scope for the projects.

Thank you. Fixed in typedoc-plugin-markdown@4.0.2.