Mercurial > projects > dil
diff trunk/src/docgen/page/plaintextwriter.d @ 466:db7e27b5c180
Fixed parts of HTML output, some reorganizing.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Wed, 31 Oct 2007 15:17:20 +0200 |
parents | 33a4cb255fcc |
children | e48a011e687a |
line wrap: on
line diff
--- a/trunk/src/docgen/page/plaintextwriter.d Tue Oct 30 20:27:24 2007 +0100 +++ b/trunk/src/docgen/page/plaintextwriter.d Wed Oct 31 15:17:20 2007 +0200 @@ -13,29 +13,29 @@ /** * Writes a plain text document skeleton. */ -class PlainTextWriter : AbstractPageWriter!(1, "plaintext") { +class PlainTextWriter : AbstractPageWriter!("plaintext") { this(PageWriterFactory factory, OutputStream[] outputs) { super(factory, outputs); } void generateTOC(Module[] modules) { // TODO - print.format(templates["toc"]); + print.format(getTemplate("toc")); } void generateModuleSection() { // TODO - print.format(templates["modules"]); + print.format(getTemplate("modules")); } void generateListingSection() { // TODO - print.format(templates["listings"]); + print.format(getTemplate("listings")); } void generateDepGraphSection() { // TODO - print.format(templates["dependencies"]); + print.format(getTemplate("dependencies")); } void generateIndexSection() { }