We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如说,我对antd的Button进行了封装,封装之后又扩展了几个字段,此时我API文档只想展示我新增的,而我继承的antd的Button 的类型我并不想展示出来,或者是分开展示,此时我只想强调我关注的属性,我继承的基础属性我只想挂个链接的方式去提醒我的用户。
No response
The text was updated successfully, but these errors were encountered:
或许可以加一个属性描述配置,让我能主动显示是否要透出到API文档里
Sorry, something went wrong.
你可以将你需要展示的属性单独写成一个interface定义,然后定义一个空组件使用这个interface,在文档的API中使用这个 空组件作为id。
缺点是空组件会在打包产物中输出,如果有asstes.json 也会收集这些空组件,
#513
在1.0时代有一个PR解决了这个问题,2.0中没有继承这个变化,又变成了一个老生常谈的问题。。。
No branches or pull requests
What problem does this feature solve?
比如说,我对antd的Button进行了封装,封装之后又扩展了几个字段,此时我API文档只想展示我新增的,而我继承的antd的Button 的类型我并不想展示出来,或者是分开展示,此时我只想强调我关注的属性,我继承的基础属性我只想挂个链接的方式去提醒我的用户。
Possible Solution (optional)
No response
The text was updated successfully, but these errors were encountered: