docgeni / docgeni

📖 A modern, powerful and out of the box documentation generator for Angular components lib and markdown docs.(现代化的、强大的、开箱即用的 Angular 组件文档生成工具)

Home Page:https://docgeni.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

能否支持一下普通的class 和interface 注释呢

aimerthyr opened this issue · comments

image
这样子写,不会生成注释,是还需要什么配置嘛

配置已经改成 apiMode: 'compatible'了,好像只有加了angular装饰器的内容才会被识别,普通的类和interface不会被识别

@why520crazy 大佬有空帮忙看看嘛

https://docgeni.org/guides/basic/component

看这个文档,接口和Class需要显示标记为public 才会生成文档。

我试了添加 public 或者 publicApi 还是不能生成文档
image
@why520crazy 咋回事呀

有在index导出吗?你看一下示例和你使用的区别吧,不行就加一个复现的示例