Closed zfben closed 1 year ago
[error] The theme 'hierarchy' is not defined. The available themes are: default [error] Documentation could not be generated due to the errors above.
import { Application, TSConfigReader } from 'typedoc' const app = new Application() app.options.addReader(new TSConfigReader()) app.bootstrap({ entryPoints: ['app'], entryPointStrategy: 'Expand', plugin: ['typedoc-theme-hierarchy'], theme: 'hierarchy', excludeExternals: true, excludePrivate: true, exclude: [ "**/node_modules/**", "**/*.js", "**/*.mjs", "**/__tests__/**", ], tsconfig: 'app/tsconfig.json', }) const project = app.convert() if (project) await app.generateDocs(project, "docs")
I think the problem is on the typedoc side. I asked a question https://github.com/TypeStrong/typedoc/issues/2363
Please, try this https://github.com/TypeStrong/typedoc/issues/2363#issuecomment-1670425304
Error
[error] The theme 'hierarchy' is not defined. The available themes are: default [error] Documentation could not be generated due to the errors above.
Code