Re: DDOC adds emphasis on symbols, so how to use $(LINK a) properly?

2015-12-02 Thread kraybit via Digitalmars-d-learn
Just wanna follow up. Thanks for the replies everyone. Helped a lot! *** Hmm, this might be out of line, but I can't help myself. I got an idea. I guess a nice feature would be something like a built-in clean representation of macro arguments, so that you could define LINK as LINK

DDOC adds emphasis on symbols, so how to use $(LINK a) properly?

2015-12-01 Thread kraybit via Digitalmars-d-learn
Hello! Just trying out the built-in ddoc, and it's great! But is there any way to link to other packages/modules, without adding "_" everywhere? Consider: // mylib/package.d /** * Also see $(LINK mylib.image.pixel.html) */ module mylib; ... This will generate a

Re: DDOC adds emphasis on symbols, so how to use $(LINK a) properly?

2015-12-01 Thread kraybit via Digitalmars-d-learn
On Tuesday, 1 December 2015 at 15:32:56 UTC, Adam D. Ruppe wrote: On Tuesday, 1 December 2015 at 15:15:50 UTC, kraybit wrote: But is there any way to link to other packages/modules, without adding "_" everywhere? Consider: sort of. You could define a custom macro DDOC_PSYMBOL=$0 I think

Re: DDOC adds emphasis on symbols, so how to use $(LINK a) properly?

2015-12-01 Thread kraybit via Digitalmars-d-learn
On Tuesday, 1 December 2015 at 15:33:59 UTC, anonymous wrote: On 01.12.2015 16:15, kraybit wrote: /** * Also see $(LINK mylib.image.pixel.html) */ module mylib; ... This will generate a link, but the href will be "mylib.image.pixel.html", which won't work in my

rdmd --makedepend requires -of; how to just print to stdout?

2014-09-07 Thread kraybit via Digitalmars-d-learn
In 2.065 rdmd would just print the stuff from --makedepend to stdout, now it seems to require -of. How to print to stdout like before? (On Windows) cheers! /k