Ddoc WEB function

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Oct 2 04:46:23 PDT 2013


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 ?

Thanks & best wishes,

     -- Joe


More information about the Digitalmars-d-learn mailing list