Mercurial > projects > dil
diff trunk/src/docgen/document/htmlgenerator.d @ 469:e562d455cbbe
Fixed latex regressions, added html file lists.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Wed, 31 Oct 2007 21:42:33 +0200 |
parents | 7f7b2232a9eb |
children | 381044a3feac |
line wrap: on
line diff
--- a/trunk/src/docgen/document/htmlgenerator.d Wed Oct 31 20:15:16 2007 +0200 +++ b/trunk/src/docgen/document/htmlgenerator.d Wed Oct 31 21:42:33 2007 +0200 @@ -98,6 +98,17 @@ void generateListings() { writeSimpleFile(docFileNames[4], { docWriter.generateListingSection(modules); + + char[][] contents; + + foreach(mod; modules) { + auto FQN = mod.moduleFQN; + auto dstFname = replace(mod.moduleFQN.dup, '.', '_') ~ ".html"; + contents ~= `<a href="` ~ dstFname ~ `">` ~ FQN ~ "</a>"; + } + + docWriter.addList(contents, false); + docWriter.generateCustomPage("pagetemplate2", docgen_version); });