d-programming-language.com

Adam D. Ruppe destructionator at gmail.com
Mon Dec 12 10:52:32 PST 2011


On Monday, 12 December 2011 at 18:43:43 UTC, Hans Uhlig wrote:
> Actually it might be nice instead of ddoc creating HTML if it 
> created an intermediate XML or JSON format of documentation 
> that could be transformed via XSLT+CSS into the final product 
> be it html, chm, manpages etc.

The macro system lets you do that pretty well already
(my program just treats the html as xml basically anyway).

dmd -X also includes the documentation comments in the json
it generates for each item. Though, this is unparsed doc
comments so it's not as useful as the html you output.


More information about the Digitalmars-d mailing list