aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/TextFormatService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/TextFormatService.kt')
-rw-r--r--src/Formats/TextFormatService.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Formats/TextFormatService.kt b/src/Formats/TextFormatService.kt
index 2fb2a0a3..f309ad96 100644
--- a/src/Formats/TextFormatService.kt
+++ b/src/Formats/TextFormatService.kt
@@ -2,7 +2,8 @@ package org.jetbrains.dokka
public class TextFormatService(val signatureGenerator: SignatureGenerator) : FormatService {
override val extension: String = "txt"
- override fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder) {
+ override fun appendNodes(to: StringBuilder,
+ nodes: Iterable<DocumentationNode>) {
for (node in nodes) {
with (to) {
appendln(signatureGenerator.render(node))