Re: [Doxygen-users] Custom Tag like @date
Brought to you by:
dimitri
|
From: Stefan P. <ste...@gm...> - 2012-04-03 16:49:17
|
Am 03.04.2012 17:34, schrieb Klein, Raimund: > Hi everyone, > I've been playing around with the ALIASES configuration part, but > somehow I don't get this: > We're using a non-standard Javadoc tag @created in a lot of our classes. > As the name suggests, this just marks the date the specific source file > was created. The tag is part of the header section where stuff like > @author, @version etc. shows up. > As the subject suggests, I'd like to have this treated just like the > @date (or @author) tag with <dl> etc. I tried coding it as a 1-argument > command, but that didn't help - the output simply ignored the tag and > just printed the date without any context. So for now, I just defined a > simple alias like this: > ALIASES = created="<b>Angelegt am: </b>" > But that won't really do the trick: > - The entry will never be aligned with the other heading entries. > - If the sequence is mixed (e.g., first @author with a name, then > @created with a date, then @version with a value), doxygen apparently > views the @created portion as part of the previous tag and just puts it > on the same line with that entry. > Does anybody have an idea? Is there a way to play around with mapping > @created to @date and providing another translation for the latter? We > don't use @date anyway, so if there were a way to accomplish this, that > wouldn't seem really nice, but certainly sufficient. > May be you can use >>ALIASES = created="@par Angelegt am:"<< or similar instead? -- Stefan P. Top-posting: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? |