aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Kotlin
diff options
context:
space:
mode:
authorZubakov <aleks.zubakov@gmail.com>2018-08-27 16:27:41 +0300
committerZubakov <aleks.zubakov@gmail.com>2018-08-27 16:30:32 +0300
commit0b43db4ff81746e44d06780d8d14bb49dc1d87aa (patch)
tree86783b7a4be37295e00abfd10293360e1f97433f /core/src/main/kotlin/Kotlin
parentb265a9ffacb8f8e8e6226a9458a92697b02355a8 (diff)
downloaddokka-0b43db4ff81746e44d06780d8d14bb49dc1d87aa.tar.gz
dokka-0b43db4ff81746e44d06780d8d14bb49dc1d87aa.tar.bz2
dokka-0b43db4ff81746e44d06780d8d14bb49dc1d87aa.zip
Introduce origin reference kind, change documentation graph merge logic, minor refactoring
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
index c25a7069..e5bc32ab 100644
--- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
+++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
@@ -1106,7 +1106,7 @@ fun DocumentationNode.generateAllTypesNode() {
val allTypes = members(NodeKind.Package)
.flatMap { it.members.filter {
it.kind in NodeKind.classLike || it.kind == NodeKind.ExternalClass
- || (it.kind == NodeKind.GroupNode && it.members.all { it.kind in NodeKind.classLike }) } }
+ || (it.kind == NodeKind.GroupNode && it.origins.all { it.kind in NodeKind.classLike }) } }
.sortedBy { if (it.kind == NodeKind.ExternalClass) it.name.substringAfterLast('.').toLowerCase() else it.name.toLowerCase() }
val allTypesNode = DocumentationNode("alltypes", Content.Empty, NodeKind.AllTypes)