aboutsummaryrefslogtreecommitdiff
path: root/src/Generation
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-10-14 16:08:10 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-10-14 16:08:10 +0400
commit280dc29f14d0aa66f4c799d15d478a6d9920841e (patch)
treef87e78e16cdb762ce88e3d3b6f1925b437b67f30 /src/Generation
parent66e5e16bbe4b73531a34ad033d49350dd019d182 (diff)
downloaddokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.tar.gz
dokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.tar.bz2
dokka-280dc29f14d0aa66f4c799d15d478a6d9920841e.zip
Use module.md to get package descriptors, filter sections with names of members, fix markdown for kotlin website, propagate content from parent to child with the name of section.
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 78164bb9..f52c6f4b 100644
--- a/src/Generation/ConsoleGenerator.kt
+++ b/src/Generation/ConsoleGenerator.kt
@@ -13,7 +13,7 @@ public class ConsoleGenerator(val signatureGenerator: LanguageService, val locat
public fun generateHeader(node: DocumentationNode, indent: String = "") {
println(indent + signatureGenerator.render(node))
- val docString = node.doc.toString()
+ val docString = node.content.toString()
if (!docString.isEmpty())
println("$indent\"${docString.replace("\n", "\n$indent")}\"")
println()