How to generate non-empty html documentation / invoke ddoc?

Joost 't Hart Joost.t.Hart at planet.nl
Tue Dec 21 08:16:12 PST 2010


Hi,

Whatever I have tried so far, no documentation is generated from my .d 
stuff. Guess my (doxygen biassed) expectation is wrong and (probably 
that is why) http://www.digitalmars.com/d/2.0/ddoc.html does not ring 
the bell here. What do I miss?

$ cat hello.d
/// This program cries hello

/* The above line is expected in my documentation */

import std.stio;

void main()
{
     writeln( "Goeiendag!" );
}

$ dmd -D -Dd. -Dfhello.html hello.d

The html file produced only contains a "<h1>Hello</h1>" title and a 
small footer with the generated-by disclaimer. The in-between part is empty.

Should I provide a (.dd??) template somehow?

Any advice appreciated.

Cheers,
Joost.


More information about the Digitalmars-d-learn mailing list