次のような本文内コメントで文書化したいコードがいくつかあります。
/*! \file best.cpp
* \brief The best
*
* I am the best
*/
/*! \fn void theBestFunction(int)
* I'm the best blah blah blah
*/
void theBestFunction(int ever)
{
doThings();
/*!
* Does some more things
*/
doMoreThings();
/*!
* Checks that the things it does are the best
*/
checkBest();
}
しかし、これを実行すると、またはコマンドが使用されdoxygen
たかのように、内部ブロックがコードフラグメントにフォーマットされているようです (実際には使用されていません)。本文内のコメントを通常のテキストのように書式設定したいと思います。@code
\code
誰もこれに遭遇したことがありますか?ありがとう。