aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 03:33:42 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 03:33:54 +0300
commit58f4badfb356335521abe0409845ea3cf1d348fc (patch)
treeb38c78ac47e64bf48a56e783319fec174992ad7f /core/src/main
parent5c3007bfdcdaed03167a2b7997df6a98da397aaf (diff)
downloaddokka-58f4badfb356335521abe0409845ea3cf1d348fc.tar.gz
dokka-58f4badfb356335521abe0409845ea3cf1d348fc.tar.bz2
dokka-58f4badfb356335521abe0409845ea3cf1d348fc.zip
Fix GroupNode internal inbound links
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/Generation/DocumentationMerger.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Generation/DocumentationMerger.kt b/core/src/main/kotlin/Generation/DocumentationMerger.kt
index e5186e72..54485930 100644
--- a/core/src/main/kotlin/Generation/DocumentationMerger.kt
+++ b/core/src/main/kotlin/Generation/DocumentationMerger.kt
@@ -141,6 +141,7 @@ class DocumentationMerger(
for (node in nodes) {
node.dropReferences { it.kind == RefKind.Owner }
groupNode.append(node, RefKind.Origin)
+ node.append(groupNode, RefKind.TopLevelPage)
oldToNewNodeMap[node] = groupNode
}