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) { for (node in nodes) { with (to) { appendln(signatureGenerator.render(node)) appendln() appendln(node.doc.summary) for ((label, section) in node.doc.sections) { appendln(label) } } } } override fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable) { } }