I am using TypeDoc v0.22.18 with TS v4.1.3. I am trying to generate documentation, but i receive warnings (as on screenshot) and some modules are skipped (for example src/database/utils/queryBuilder.ts, which has exports, so it should be picked).
I run typedoc with command:
node_modules/.bin/typedoc --plugin none --tsconfig ./tsconfig.jsdoc.json ./src
typedoc.json
{
"entryPointStrategy": "expand",
"exclude": ["./src/**/__mocks__/**", "./src/frontend/assets/**"],
"out": "./ts-api-docs"
}
tsconfig.json
{
"exclude": ["./node_modules", "./dist", "./src/database/data"],
"include": ["./src/**/__mocks__"],
"references": [
{ "path": "./tsconfig.backend.json" }
],
"files": ["./src/augmentations.d.ts"],
"compilerOptions": {
"strict": true,
"target": "ES2020",
"moduleResolution": "node",
"esModuleInterop": true,
"baseUrl": ".",
"paths": {
"@root/*": ["*"],
"@src/*": ["src/*"],
"@unitTests/*": ["test/unit/*"],
"@frontend/*": ["src/frontend/*"],
"@middleware/*": ["src/middleware/*"],
"@database/*": ["src/database/*"],
"@commons/*": ["commons/*"]
}
}
}
tsconfig.jsdoc.json
{
"extends": "./tsconfig.json",
"include": ["./**/*.ts?", "./**/*.js?"],
"files": ["./src/augmentations.d.ts", "./src/database/populate/populate.ts"],
"compilerOptions": {
"outDir": "_tmp-compiled-scripts-for-docs",
"skipLibCheck": true,
"allowJs": true,
"jsx": "react"
}
}