Re: Ddoc WEB function

2013-10-04 Thread Joseph Rushton Wakeling
On 03/10/13 20:06, Jonathan M Davis wrote: I don't see the problem. If you want the standard set of macros, then look at the docs. If you want more, then add your own. We need more in the Phobos docs, so we define more - many of which wouldn't even make sense as standard macros. I see no reason t

Re: Ddoc WEB function

2013-10-03 Thread Jonathan M Davis
On Thursday, October 03, 2013 12:45:55 Joseph Rushton Wakeling wrote: > > If you to restrict yourself to the built-in ones in your code, then use > > the > > ones at > > > > http://dlang.org/ddoc.html > > > > And if you want to define more, then create your own .ddoc file with them > > in it. But

Re: Ddoc WEB function

2013-10-03 Thread simendsjo
On Thursday, 3 October 2013 at 10:46:00 UTC, Joseph Rushton Wakeling wrote: On 02/10/13 21:34, Jonathan M Davis wrote: It's not a bug at all. It's in https://github.com/D-Programming-Language/dlang.org/blob/master/std.ddoc ddoc is a macro language and does not at all restrict you to what come

Re: Ddoc WEB function

2013-10-03 Thread Joseph Rushton Wakeling
On 02/10/13 21:34, Jonathan M Davis wrote: It's not a bug at all. It's in https://github.com/D-Programming-Language/dlang.org/blob/master/std.ddoc ddoc is a macro language and does not at all restrict you to what comes with it, and the standard library uses quite a few macros that are specific

Re: Ddoc WEB function

2013-10-02 Thread Jonathan M Davis
On Wednesday, October 02, 2013 13:46:23 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

Re: Ddoc WEB function

2013-10-02 Thread H. S. Teoh
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 wo

Ddoc WEB function

2013-10-02 Thread Joseph Rushton Wakeling
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 t