diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2020-10-14 09:27:11 +0200 |
---|---|---|
committer | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2020-10-15 03:05:14 +0200 |
commit | 7e2678e5e182afc10c3ca98107aae3c7590b909b (patch) | |
tree | 15d18e86d31c288b04f5778e9eda1b9ad8237390 /plugins/javadoc/src/main/kotlin | |
parent | cb5dbf7fd35d023d29cc00fefb0182bada323b7c (diff) | |
download | dokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.tar.gz dokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.tar.bz2 dokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.zip |
Make names resulting from clashing DRI-s appear only in navigatable components
Diffstat (limited to 'plugins/javadoc/src/main/kotlin')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt index f104beb7..0e6bdc33 100644 --- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt +++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt @@ -183,7 +183,7 @@ open class JavadocPageCreator( private inline fun <reified T : TagWrapper> Documentable.contentNodesFromType(sourceSet: DokkaSourceSet?) = findNodeInDocumentation<T>(sourceSet)?.let { - DocTagToContentConverter.buildContent( + DocTagToContentConverter().buildContent( it.root, DCI(setOf(dri), JavadocContentKind.OverviewSummary), sourceSets.toSet() @@ -213,7 +213,7 @@ open class JavadocPageCreator( return JavadocIndexExtra( indexes.map { ContentGroup( - children = DocTagToContentConverter.buildContent( + children = DocTagToContentConverter().buildContent( it, DCI(setOf(dri), JavadocContentKind.OverviewSummary), sourceSets.toSet() |