Nicer anchors

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 30 08:57:07 PST 2014


On 30/12/2014 01:27, Adam D. Ruppe wrote:
> On Tuesday, 30 December 2014 at 01:18:39 UTC, Andrei Alexandrescu wrote:
>> How would that achieve cross referencing?
>
> To be clear, what your change does is make links like this work, yes?
>
> http://erdani.com/d/phobos-prerelease/std_range_package.html#.RefRange.save

No, this has worked for some time.

> (BTW, nice leading dot there...)

Necessary for full backwards link compatibility.

> The toPrettyChars function outputs the fully-qualified name too without
> needing a script.

DDOC_ANCHOR is fully qualified (and its more complicated than just 
toPrettyChars).


More information about the Digitalmars-d mailing list