Cross referencing in Ddoc

Walter Bright newshound2 at digitalmars.com
Wed Jan 1 12:38:41 PST 2014


On 1/1/2014 4:43 AM, Jacob Carlborg wrote:
> On 2013-12-31 23:27, Walter Bright wrote:
>
>> I used this one in std.datetime:
>>
>>          LREF2=<a href="#$1">$(D $2)</a>
>
> That would require specific knowledge about how Ddoc generate the HTML and file
> structure.

Ddoc doesn't generate HTML (the macros do), and the # means it's a local 
reference, no file structure required.



More information about the Digitalmars-d mailing list