Ddoc WEB function

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Oct 2 10:06:55 PDT 2013


On Wed, Oct 02, 2013 at 01:46:23PM +0200, Joseph Rushton Wakeling wrote:
> Hello all,
> 
> I've noticed that various places in Phobos docs use the WEB function, as in e.g.:
> 
>     Authors:   $(WEB erdani.org, Andrei Alexandrescu)
> 
> However, this seems to be some custom function that only works with
> the dlang.org website build process -- if you just run regular dmd
> -o- -D on the file in question, the parts in the $(WEB ...) function
> are just not included in the resulting HTML.
> 
> This seems a bit undesirable ... is it a bug, or is there a good
> reason for it, and is there any particular reason to favour WEB
> over, say, LINK2 ?
[...]

It's probably a macro defined somewhere in the phobos .ddoc file maybe?

Or is it post-processed by some script?


T

-- 
Старый друг лучше новых двух.


More information about the Digitalmars-d-learn mailing list