开发者

Code examples in Doxygen [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editin开发者_JAVA技巧g this post.

Closed 5 years ago.

Improve this question

In my comments in doxygen I am using example code. But comments are getting very long with 20 lines of php-code in them. Is there a way to have the examples in a different file?

How would I do this?

I tried @example but the result was, that the class was not longer listed in the doc.


Have you considered creating a "samples" directory (or something similar) to house all of your examples then use \link to tie it together?

http://www.doxygen.nl/manual/commands.html#cmdlink

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜