What do you use to generate documentation?
simendsjo
simendsjo at gmail.com
Wed Mar 13 03:11:50 PDT 2013
On Wednesday, 13 March 2013 at 09:35:18 UTC, Andrea Fontana wrote:
> I've tried to build documentation using ddoc format and dmd.
>
> dmd -c -D -o- ...
>
> Generated documentation looks ugly and without stylesheet. Am I
> wrong? I expected a phobos-like documentation.
>
> So, what do you use to generate your D docs? Doxygen or
> something else?
Ref: http://dlang.org/ddoc.html
You can redefine the DDOC macro to use a stylesheet. Add your
base ddoc file on the command line with redefined and additional
macros.
Take a look at ddox and candydoc too.
http://www.dsource.org/projects/helix/wiki/CandyDoc
https://github.com/jacob-carlborg/candydoc
https://github.com/eldar/candydoc
https://github.com/rejectedsoftware/ddox
Not sure which candydoc repo is most up-to-date.
More information about the Digitalmars-d-learn
mailing list