Note that there are some explanatory texts on larger screens.

plurals
  1. PODoxygen - Create custom command
    primarykey
    data
    text
    <p>I think my question is basically the same as this one, but it didn't get a good answer: <a href="https://stackoverflow.com/questions/5227411/create-new-custom-command-that-will-add-to-a-section-in-doxygen">Create new custom command that will add to a section in Doxygen</a></p> <p>I pretty much want to do the same thing, I think. I want to completely duplicate the exact functionality of the <code>@param</code> option, except to give it the heading "Options" instead of "Parameters". I want the arguments to be the same (data type, variable name, and description) and want them to look all the same and everything. Literally, the only thing I need different is the heading.</p> <p>I also tried doing this:</p> <pre><code>ALIASES = option"\par Options:\n" </code></pre> <p>in my Doxyfile, but I also get each individual option in its own section instead of all of them being in the same section. They also don't have the same arguments as the <code>@param</code> option.</p> <p>I also tried to do something with <code>\xrefitem</code> which, of course, didn't work. I tried this:</p> <pre><code>ALIASES = option="\xrefitem param \"Option\" \"Options\" " </code></pre> <p>but it looks like <code>\xrefitem</code> is used for creating something more like a compiled list from different sections, like the Todo list.</p> <p>Help is greatly appreciated. Thanks!</p> <p><hr /> <b>EDIT:</b></p> <p>Just to clarify, the output I'm looking for would look something like this:</p> <p><b>Options:</b><br /> &nbsp;&nbsp;&nbsp;&nbsp;<i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;<b>$option1</b>&nbsp;&nbsp;This is option 1.<br /> &nbsp;&nbsp;&nbsp;&nbsp;<i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;<b>$option2</b>&nbsp;&nbsp;This is option 2.<br /></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload