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.
