where is ddoc.
simendsjo
simendsjo at gmail.com
Sun Aug 21 04:38:36 PDT 2011
On 21.08.2011 13:32, maarten van damme wrote:
> as with most tools mentioned on the digitalmars homepage I am unable to
> find ddoc.
> I know it exists, judging by the whole page dedicated to it but the tool
> itself is never mentioned in any download page.
> Not to offend anyone but the digitalmars homepage really could use some
> rethinking. It was one of the reasons I almost didn't try d :p
> I always get lost in it.
> It would be great to also have a link to the full phobos documentation
> generated with candydoc on the digitalmars d page instead of
> http://www.digitalmars.com/d/2.0/phobos/ , candydoc generates something
> more readable and structured.
ddoc is embedded in dmd. It doesn't have a standalone executable.
module t;
/// This is documented
void main() {}
dmd -D t.d
t.html now contains documentation.
More information about the Digitalmars-d-learn
mailing list