diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-22 11:50:50 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-22 11:50:50 +0100 |
commit | b55b258574a01a02f906f5f12646ecacfc640e20 (patch) | |
tree | 2f3caf760b13d745a3e01509b1aba57a1a770265 | |
parent | 599f32d9bf64fc81dc60e54d5dc5f639086df786 (diff) | |
download | dokka-b55b258574a01a02f906f5f12646ecacfc640e20.tar.gz dokka-b55b258574a01a02f906f5f12646ecacfc640e20.tar.bz2 dokka-b55b258574a01a02f906f5f12646ecacfc640e20.zip |
delete TextFormatService as it's too limited to be of any use
-rw-r--r-- | src/Formats/TextFormatService.kt | 18 | ||||
-rw-r--r-- | src/main.kt | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/Formats/TextFormatService.kt b/src/Formats/TextFormatService.kt deleted file mode 100644 index 9db20dfa..00000000 --- a/src/Formats/TextFormatService.kt +++ /dev/null @@ -1,18 +0,0 @@ -package org.jetbrains.dokka - -public class TextFormatService(val signatureGenerator: LanguageService) : FormatService { - override val extension: String = "txt" - override fun appendNodes(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) { - for (node in nodes) { - with (to) { - appendln(signatureGenerator.render(node)) - appendln() - appendln(node.content.summary) - - for ((label, section) in node.content.sections) { - appendln(label) - } - } - } - } -}
\ No newline at end of file diff --git a/src/main.kt b/src/main.kt index 4782c264..b075d4e9 100644 --- a/src/main.kt +++ b/src/main.kt @@ -134,7 +134,6 @@ public fun main(args: Array<String>) { val templateService = HtmlTemplateService.default("/dokka/styles/style.css") val (formatter, outlineFormatter) = when (arguments.outputFormat) { - "text" -> TextFormatService(signatureGenerator) to null "html" -> { val htmlFormatService = HtmlFormatService(locationService, signatureGenerator, templateService) htmlFormatService to htmlFormatService |