ddoc - modules with same name

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 2 10:49:58 PDT 2015


On Thursday, 2 July 2015 at 06:33:42 UTC, armando sano wrote:
>> I could never get this working. Have you got an example of 
>> your compiler command.
>
> In case that's still helpful after a couple of years...:
>
>     dmd path1/to/source.d path2/to/source.d -o- -D 
> -Ddpath/to/doc -op
>
> generates `path/to/doc/path1/to/source.html` and 
> `path/to/doc/path2/to/source.html`

In my case it was a bug in rdmd that ate the flag. I corrected it 
in a PR ages ago which was merged so it now works! :)


More information about the Digitalmars-d-learn mailing list