ddoc crossreferences

Morusaka morusaka at inwind.it
Sat Nov 29 07:35:21 PST 2008


Ok, with the help of grep i've found a lot of examples in Tango sources, for instance in: tango/text/locale/Core.d

$(LINK2 #whereToGo, linkName)
...
...
...
$(ANCHOR whereToGo)
...
...
...

Now I wonder if this is the right way to do this... i mean if the documentation has to be processed in order to produce a pdf version of it, does this html stuff will work?

Thank you,

Luca.


Morusaka Wrote:

> Hi,
> 
> is there a way to include cross references in my documentation.
> For example, i'd like to do something like:
> 
> /**
>  * foo bla bla bla
>  * See_Also:
>  * bar <i'd like a link here!!>
>  */
> void foo() {...}
> 
> /**
>  * bar bla bla
>  * See_Also:
>  * foo <i'd like a link here!!>
>  */
> void bar() {...}
> 
> and i'd like elements in See_Also section to be link to other points in the same file documentation.
> 
> How can i do this? (maybe with the LINK macro, but i can't figure out how)
> 
> Thank you,
> 
> Luca.
> 
> 



More information about the Digitalmars-d-learn mailing list