[Doxygen-develop] Custom Tags
Brought to you by:
dimitri
From: <Nas...@Sy...> - 2002-09-13 12:10:14
|
How easy is it to add custom tags to Doxygen? I have added the following ALIASE: "panic=\par Panic:\n" on the following XML Doc: A double-line breaked paragraph. A paragaph with <CODE>some code</CODE> in it. @code bool samplecode = true; @endcode @deprecated 6.0 Deprecated text. @exception KLeaveCode Leave text @panic USER-120 Panic text @param a Parameter text @post Post condition text. @pre Pre condition text. @verbatim verbatim text tab tab tab @endverbatim @warning Warning text @internal Internal text */ TInt AllTagsFunction(TInt a); and get this: ... <parameterlist kind="exception"><parametername>KLeaveCode</parametername><parameterdescription><para> Leave text </para> </parameterdescription></parameterlist><simplesect kind="par"><para> USER-120 Panic text </para> </simplesect><parameterlist kind="param"><parametername>a</parametername><parameterdescription><para>Parameter text </para> </parameterdescription></parameterlist><simplesect kind="post"><para>Post condition text. </para> </simplesect><simplesect kind="pre"><para>Pre condition text. </para> </simplesect> ... The problem being the panic aliase that was added isn't being added as a <parameterlist kind="panic"> like <parameterlist kind="exception"> but as <simplesect kind="par"> which is wrong. How do I get it to render this new tag properly? Will I have to modify the C++ code? Any help from anyone that has successfully added custom tags would be helpful. ______________________________ Nasser Saleem Ahmed Software Engineer Symbian Ltd United Kingdom ______________________________________ ********************************************************************** Symbian Ltd is a company registered in England and Wales with registered number 01796587 and registered office at 19 Harcourt Street, London, W1H 4HF, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify pos...@sy... and delete the message and any attachments accompanying it immediately. Symbian does not accept liability for any corruption, interception, amendment, tampering or viruses occuring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. ********************************************************************** |