mam jakiś kod, który chcę, aby udokumentować zw ciałem komentarzach tak:Doxygen w ciałem komentuje
/*! \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();
}
Ale kiedy biegnę doxygen
na to wydaje się sformatować wewnątrz bloków na fragmenty kodu, tak jakby użyto poleceń @code
lub \code
(których nie było). Chciałbym, aby komentarze w treści były sformatowane jak normalny tekst.
Czy ktoś to wcześniej spotkał? Dzięki.
Jestem prawie pewien, że Doxygen nie może tego zrobić. –
Co masz na myśli mówiąc @CatPlusPlus? Której części nie może zrobić Doxygen? –
Wygląda jak duplikat na [http://stackoverflow.com/questions/758045/how-to-be-able-to-extract-comments- from-inside-a-unction- in-doxygen](http:// stackoverflow.com/questions/758045/how-to-be-be-to-extract-comments-from-inside-a-function-in-doxygen) – ekholm