aboutsummaryrefslogtreecommitdiff
path: root/src/Generation/ConsoleGenerator.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 01:12:42 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 01:12:42 +0400
commit046265ea04b645b4f8ff835aa6c3ff9879501aed (patch)
tree27856cad58e73c95978c16e264beed806047b9e7 /src/Generation/ConsoleGenerator.kt
parent2f4e56d77ac72c3f47cd2799094b1b987b0d9522 (diff)
downloaddokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.gz
dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.bz2
dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.zip
Add Owner references, cleanup
Diffstat (limited to 'src/Generation/ConsoleGenerator.kt')
-rw-r--r--src/Generation/ConsoleGenerator.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Generation/ConsoleGenerator.kt b/src/Generation/ConsoleGenerator.kt
index e46cac31..36db88cf 100644
--- a/src/Generation/ConsoleGenerator.kt
+++ b/src/Generation/ConsoleGenerator.kt
@@ -7,6 +7,7 @@ public class ConsoleGenerator() {
generateHeader(node, indent)
generateDetails(node, indent)
generateMembers(node, indent)
+ generateLinks(node, indent)
}
public fun generateHeader(node: DocumentationNode, indent: String = "") {
@@ -24,4 +25,9 @@ public class ConsoleGenerator() {
for (child in node.members)
generate(child, indent + IndentStep)
}
+
+ public fun generateLinks(node: DocumentationNode, indent: String = "") {
+ for (child in node.links)
+ generate(child, indent + IndentStep)
+ }
} \ No newline at end of file