非标准特殊文档块和 doxygen
我正在使用第 3 方 API C 源,其中特殊文档块如下所示
/****************************************************************************************
* @fn fn
*
* @brief brief
*
* @param param
*
* @return return
****************************************************************************************
*/
void fn(void)
{
...
}
有没有办法让 Doxygen 相信这些是真正的特殊文档块,而无需修改源以匹配标准块(例如,在块开始处恰好有两个星号)?
先感谢您。
I'm using a 3rd party API C sources where special documentation blocks are as following
/****************************************************************************************
* @fn fn
*
* @brief brief
*
* @param param
*
* @return return
****************************************************************************************
*/
void fn(void)
{
...
}
Is there a way to convince Doxygen these are real special documentation blocks without modifying sources in order to match standard block (e.g. exactly two asterisks at block start)?
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议创建一个输入过滤器,将
/*****
替换为/**
并将其添加到INPUT_FILTER
配置文件中的选项。如果您的系统上有 Unix 命令
sed
,则以下命令即可解决问题:I suggest to create an input filter that replaces
/******
by/**
and add that to theINPUT_FILTER
option in the configuration file. If you have the Unix command
sed
on your system, the following would do the trick: