开发者

Doxygen including methods twice doc files

I'm having this issue where doxygen is adding the method twice in the documentation file. Is there a setting that stops auto-generation of documenta开发者_开发知识库tion for methods within the .m file.

For example in the documentation I'll see something like whats below where the first definition of + (Status *)registerUser is from the header XXXXXX.h file where the second is from XXXXXX.m.

Header documentation :

/**
    @brief   Test
    Yada Yada
    @return     <#(description)#>
*/
+ (Status *)registerUser;

Output:

+ (Status *) registerUser               

Test Yada Yada.

Returns:
    <#(description)#> 

+ (Status *) registerUser               

<#(brief description)#> <#(comprehensive description)#>

registerUser

Returns:
    <#(description)#> 

Definition at line 24 of file XXXXXX.m.


Problem solved! I found out that doxygen was including my build directory and my .svn directories.

I added to EXCLUDE_PATTERNS

*/.svn/*
*/.build/*
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜