RE: [Doxygen-users] Using @link to reference a file
Brought to you by:
dimitri
From: Glenn M. <gle...@vo...> - 2002-03-13 18:29:49
|
I had a tough time getting Doxygen to understand my links even when using the <a href...> form. It coughed and choke the most on relative paths. =20 My solution was to insert something that I'd recognize, post-process the file, and replace it with what was needed. =20 I was already post processing the file to add navigation to the top and copyright info to the bottom, anyway. Looking for my flags and replacing them with something that worked was a minor extra step. =20 Because I'm already post-processing, I'd be inclined to not use your ALIAS definitions but to keep the @mylink and @endmylink delimiters. I'd let them be the flags for the post-processor. =20 Not what you were expecting. =20 I have some open-source tools for post-processing (voyant_nav.pl) available at www.voyanttech.com/tp_tools.zip (1.8 MB). Unzip and launch tp_tools/_start_here.zip. Look up the perl programs (voyant_nav.pl). =20 HTH =20 Glenn -----Original Message----- From: Kevin Williams [mailto:KWi...@vi...] Sent: Wednesday, March 13, 2002 11:08 AM To: dox...@li... Subject: RE: [Doxygen-users] Using @link to reference a file Alright, I figured out how to make my alias ALMOST work. Here's what I've got:=20 ALIASES =3D "mylink=3D@htmlonly<a = href=3D\"../Properties.html#@endhtmlonly" ALIASES +=3D "endmylink=3D@htmlonly\">View Properties</a>@endhtmlonly" = Here's how it would be used:=20 /**=20 * A Cat object.=20 *=20 * @mylink Cat @endmylink=20 */=20 interface Cat=20 {=20 }=20 Here's what it produces:=20 <a href=3D"../Properties.html# Cat">View Properties</a>=20 Note this space --------------^=20 I just need to get rid of that space! Anyone have any ideas on that one?=20 -- Kevin Williams=20 Visionael Corporation=20 kwi...@vi...=20 |