मैं कुछ कोड है जो मुझे बहुत पसंद है में शरीर टिप्पणी के साथ दस्तावेज़ करना चाहते हैं:Doxygen में शरीर टिप्पणी
/*! \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
आदेशों का उपयोग किया गया था (जो वे नहीं थे)। मैं इन-बॉडी टिप्पणियों को सामान्य पाठ की तरह स्वरूपित करना चाहता हूं।
क्या किसी ने इससे पहले सामना किया है? धन्यवाद।
मुझे पूरा यकीन है कि डॉक्सिजन ऐसा नहीं कर सकता है। –
@CatPlusPlus का क्या मतलब है? Doxygen कौन सा हिस्सा नहीं कर सकता है? –
एक डुप्लिकेट की तरह दिखता है [http://stackoverflow.com/questions/758045/how-to-be-able-to-extract-comments-from-inside-a-function-in-doxygen ](http:// stackoverflow.com/questions/758045/how-to-be-able-to-extract-comments-from-inside-a-function-in-doxygen) – ekholm