Domanda

I was able to add custom pages to the doxygen documentation even with a description (which is not realy documentated). However I have this here:

/*!
 * \page fielname Here comes the title
 * \brief A short introduction which explains this page.
 *
 * The real page content...
 */

That works fine but how I add a \brief (description) for the deprecated list? Now that looks a undocumentated page what I want to avoid.

È stato utile?

Soluzione

I think what you are looking for can be achieved with the following:

/** Test class
 *  @deprecated Will be removed in release 2.0
 */
class Test
{
};

/** @page deprecated
 *  @brief Deprecated page brief
 *
 *  Deprecated page contents.
 */
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top