diff options
Diffstat (limited to 'plugins/javadoc')
-rw-r--r-- | plugins/javadoc/build.gradle.kts | 2 | ||||
-rw-r--r-- | plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPageCreator.kt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/javadoc/build.gradle.kts b/plugins/javadoc/build.gradle.kts index 093f16e1..b549b0ac 100644 --- a/plugins/javadoc/build.gradle.kts +++ b/plugins/javadoc/build.gradle.kts @@ -1,7 +1,7 @@ import org.jetbrains.registerDokkaArtifactPublication dependencies { - implementation("com.soywiz.korlibs.korte:korte-jvm:2.3.1") + implementation("com.soywiz.korlibs.korte:korte-jvm:2.3.3") implementation(project(":plugins:base")) implementation(project(":plugins:kotlin-as-java")) testImplementation(project(":plugins:base:base-test-utils")) 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 4d0a62c3..4dbd5ca7 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 @@ -4,7 +4,7 @@ import org.jetbrains.dokka.DokkaConfiguration.DokkaSourceSet import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.base.signatures.SignatureProvider import org.jetbrains.dokka.base.transformers.pages.comments.DocTagToContentConverter -import org.jetbrains.dokka.base.translators.documentables.briefFromContentNodes +import org.jetbrains.dokka.base.translators.documentables.firstSentenceBriefFromContentNodes import org.jetbrains.dokka.javadoc.pages.* import org.jetbrains.dokka.model.* import org.jetbrains.dokka.model.doc.Description @@ -194,10 +194,10 @@ open class JavadocPageCreator(context: DokkaContext) { ?: throw IllegalStateException("No source set found for ${jvm.sourceSetID} ") private fun Documentable.brief(sourceSet: DokkaSourceSet? = highestJvmSourceSet): List<ContentNode> = - briefFromContentNodes(descriptionToContentNodes(sourceSet)) + firstSentenceBriefFromContentNodes(descriptionToContentNodes(sourceSet)) private fun DParameter.brief(sourceSet: DokkaSourceSet? = highestJvmSourceSet): List<ContentNode> = - briefFromContentNodes(paramsToContentNodes(sourceSet).dropWhile { it is ContentDRILink }) + firstSentenceBriefFromContentNodes(paramsToContentNodes(sourceSet).dropWhile { it is ContentDRILink }) private fun ContentNode.asJavadocNode(): JavadocSignatureContentNode = (this as ContentGroup).firstChildOfTypeOrNull<JavadocSignatureContentNode>() |