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 questionIn 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
精彩评论