我正在使用 compodoc 为我的 angular 项目生成文档,但它忽略了所有 .d.ts 文件,即使我在 tsconfig.compodoc.json 中包含所有 .d.ts 文件,如下所示:
{
"include": [
"src/**/*.d.ts",
"src/**/*.ts"
]
}
运行命令:
compodoc -p .\tsconfig.compodoc.json
样本输出:
[12:20:28] Including : F:\Projects\WebGPNet\frontend\projects\map-core\src\SnapCapability.ts
[12:20:28] Including : F:\Projects\WebGPNet\frontend\projects\map-core\src\test.ts
[12:20:28] Including : F:\Projects\WebGPNet\frontend\projects\map-core\src\VertexHighlighter.ts
[12:20:28] Including : F:\Projects\WebGPNet\frontend\projects\map-core\src\VLayer.ts
[12:20:28] Ignoring : F:\Projects\WebGPNet\frontend\projects\map-core\src\interfaces\ActionModel.d.ts
[12:20:28] Ignoring : F:\Projects\WebGPNet\frontend\projects\map-core\src\interfaces\ActionsGroup.d.ts
[12:20:28] Ignoring : F:\Projects\WebGPNet\frontend\projects\map-core\src\interfaces\BackgroundColor.d.ts
[12:20:28] Ignoring : F:\Projects\WebGPNet\frontend\projects\map-core\src\interfaces\ContextMenuItem.d.ts
如何包含这些文件?