diff options
Diffstat (limited to 'src')
-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 |