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.kt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Formats/TextFormatService.kt b/src/Formats/TextFormatService.kt
index 8fea5a6a..63d2ce42 100644
--- a/src/Formats/TextFormatService.kt
+++ b/src/Formats/TextFormatService.kt
@@ -2,21 +2,20 @@ package org.jetbrains.dokka
public class TextFormatService(val signatureGenerator: LanguageService) : FormatService {
override val extension: String = "txt"
- override fun appendNodes(to: StringBuilder,
- nodes: Iterable<DocumentationNode>) {
+ override fun appendNodes(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) {
for (node in nodes) {
with (to) {
appendln(signatureGenerator.render(node))
appendln()
appendln(node.doc.summary)
- for ((label,section) in node.doc.sections) {
+ for ((label, section) in node.doc.sections) {
appendln(label)
}
}
}
}
- override fun appendOutline(to: StringBuilder, nodes: Iterable<DocumentationNode>) {
+ override fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) {
}
} \ No newline at end of file