aboutsummaryrefslogtreecommitdiff
path: root/src/Generation
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 03:25:39 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 03:25:39 +0400
commitd627d2cfdfebcddd63669734efb82dfc66e7c7fe (patch)
treef0c60789cc4b529b86a6ba028bb2bd8a749d9b4c /src/Generation
parent7bc3513935588467d4f848bbe40539664fdbdcf9 (diff)
downloaddokka-d627d2cfdfebcddd63669734efb82dfc66e7c7fe.tar.gz
dokka-d627d2cfdfebcddd63669734efb82dfc66e7c7fe.tar.bz2
dokka-d627d2cfdfebcddd63669734efb82dfc66e7c7fe.zip
Convert string doc to structured DocumentationContent
Diffstat (limited to 'src/Generation')
-rw-r--r--src/Generation/ConsoleGenerator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generation/ConsoleGenerator.kt b/src/Generation/ConsoleGenerator.kt
index 90bd53be..3ba42099 100644
--- a/src/Generation/ConsoleGenerator.kt
+++ b/src/Generation/ConsoleGenerator.kt
@@ -12,7 +12,7 @@ public class ConsoleGenerator() {
public fun generateHeader(node: DocumentationNode, indent: String = "") {
println("$indent${node.kind}: ${node.name}")
- println("$indent\"${node.doc.replace("\n", "\n$indent")}\"")
+ println("$indent\"${node.doc.summary.replace("\n", "\n$indent")}\"")
println()
}