Aaron Todd
04/08/2022, 1:48 PMCannot change dependencies of dependency configuration ':aws-runtime:dokkaGfmPlugin' after it has been resolved.Project builds fine from cli but intellij won't load the project. Anyone have any insights how to solve?
Grégory Lureau
04/15/2022, 6:57 AM## class full.qualifier.of.ClassName
(same syntax than module/package) if it makes sense ? (context)Ignat Beresnev
04/15/2022, 10:28 AMOutOfMemoryError: Metaspace
-related issues should now be solved for the majority of cases
• New documentedVisibilities
setting which lets you configure visibility modifiers that end up in documentation (public/private/internal/protected/package-private). This is a replacement for includeNonPublic
which has now been deprecated.
• HTML format refinements, the most noticable being
◦ vertical alignment (wrapping) of signatures when 3 and more parameters are present
◦ primary constructor signature now displays `val`/`var` keywords and shows default values
• First iteration of HTML format customization through FreeMarker
HTML templates
• Bugfixes, a couple of new extension points, stability improvements
Full release notes here: https://github.com/Kotlin/dokka/releases/tag/v1.6.20hfhbd
04/25/2022, 8:37 AM`
sourceLink {
localDirectory by file("src/$sourceSetName/kotlin") // there is no watchosSimulatorArm64 because all sources are in commonMain...
remoteUrl by uri("<https://github.com/hfhbd/RateLimit/tree/main/src/$sourceSetName/kotlin>").toURL()
remoteLineSuffix by "#L"
}
Michal Klimczak
05/05/2022, 10:43 AMjava {
withSourcesJar()
withJavadocJar()
}
mike.holler
05/05/2022, 2:36 PMexpect
functions in commonMain
on the actual
functions for each runtime? When dokka generates docs, it generates an individual (e.g.,) function doc for each runtime (jvm, js, native, ...). The common one has documentation because it has doc comments, the concrete runtime ones do not have doc comments. I'd like them to be "inherited" from the expect
Su5eD
05/09/2022, 11:40 AMDJ
05/14/2022, 4:27 AMGeorge
05/17/2022, 12:24 PM./gradlew dokkaHtml
for a simple project but im getting the errorhfhbd
05/20/2022, 2:01 PMAdrian Landborn
05/31/2022, 11:28 AM./gradlew dokkaHtmlMultiModule
?
What I am trying to achieve is to replace the path for the logo. 🧵Gleb Minaev
06/11/2022, 7:13 PM@usesMathJax
in the begining and in the end of it. In both cases documentation on the page of documented symbol renders great, but not in short description of the symbol: either all documentation or formulas are not rendered respectively. (See images in the thread for details.) Is it feature, bug, or me doing something wrong?Gleb Minaev
06/13/2022, 4:28 PMPoint
and Collector
respectively. But no matter what space you put between them until there is no paragraph break between them it will be parsed as a word "Point" with link to Collector
.
I found a workaround by placing any element that is parsed as a space (for example, <wbr>
,  
, etc.). But the workaround works in IntelliJ IDEA but not in HTML version. More precisely, in HTML version the links are separated and parsed correctly, but there is no space between them (no matter what space element you put between them).
It is a bug, isn't it? Is there any official solution (or at least workaround) for this?Grégory Lureau
06/16/2022, 9:03 PMGrégory Lureau
06/17/2022, 8:19 AMGrégory Lureau
06/17/2022, 12:03 PMIgnat Beresnev
06/20/2022, 2:53 PMJava
fields with accessors, now properly interpreted as `val`/`var` properties
• Make rendered default value dependent on source set for expect/actual declarations
• Better support for Kotlin/native libraries in KMP projects
• [HTML] Render quotes as blockquotes instead of code blocks
• [GFM] Support rendering of code blocks and inline code used in KDocs
And a bunch of other changes and bugfixes along with stability improvements.
Full release notes: https://github.com/Kotlin/dokka/releases/tag/v1.7.0Robert Jaros
06/20/2022, 4:51 PMBen Lancaster
06/24/2022, 9:43 AMsimon.vergauwen
07/04/2022, 12:42 PMERROR CLASS
in my generated HTML page? https://nomisrev.github.io/kotlinx-serialization-jsonpath/-kotlin-x%20-serialization%20-json-path/io.github.nomisrev/index.html
It's referencing KotlinX Serialization types which is exposed through an api
dependency 🤔Ignat Beresnev
07/13/2022, 12:22 PMWARN: Attempt to load key
messages that appeared when analyzing Java sources
Release notes on GH: https://github.com/Kotlin/dokka/releases/tag/v1.7.10tomekj
07/14/2022, 3:46 PMtasks.register("dokkaHtmlJava", DokkaTask::class) {
dependencies {
plugins("org.jetbrains.dokka:kotlin-as-java-plugin:1.7.10")
}
}
But for a multi module project I am really struggling to make it work.
I believe I need to register a custom DokkaMultiModuleTask
in my root build.gradle.kts and then some custom DokkaTaskPartial
in my modules' build.gradle.kts files. Yet I can't seem to configure this properly.
Can anyone help me with this?v79
07/18/2022, 9:15 PMclass MyClass {
@Router
fun myRouter() =
route {
get("/hello") {
println("hello")
}
get("/bananas") {
println("bananas")
}
}
}
And generate an output something like this?
GET /hello com.example.MyClass
GET /bananas com.example.MyClass
I stumbled upon a medium article which suggested Dokka could do this sort of static analysis.peekandpoke
07/19/2022, 2:28 PMCaused by: java.lang.IllegalStateException: Illegal use of flexible type deserializer.
at org.jetbrains.kotlin.library.metadata.NullFlexibleTypeDeserializer.create(NullFlexibleTypeDeserializer.kt:19)
at org.jetbrains.kotlin.library.metadata.NullFlexibleTypeDeserializer.create(NullFlexibleTypeDeserializer.kt:12)
at org.jetbrains.kotlin.serialization.deserialization.TypeDeserializer.type(TypeDeserializer.kt:66)
at org.jetbrains.kotlin.serialization.deserialization.MemberDeserializer.loadProperty(MemberDeserializer.kt:57)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation.computeProperties(DeserializedMemberScope.kt:314)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation.access$computeProperties(DeserializedMemberScope.kt:228)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation$properties$1.invoke(DeserializedMemberScope.kt:253)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation$properties$1.invoke(DeserializedMemberScope.kt:253)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunction.invoke(LockBasedStorageManager.java:578)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunctionToNotNull.invoke(LockBasedStorageManager.java:651)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation.getContributedVariables(DeserializedMemberScope.kt:338)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$OptimizedImplementation.addFunctionsAndPropertiesTo(DeserializedMemberScope.kt:352)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope.computeDescriptors(DeserializedMemberScope.kt:115)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor$DeserializedClassMemberScope$allDescriptors$1.invoke(DeserializedClassDescriptor.kt:301)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor$DeserializedClassMemberScope$allDescriptors$1.invoke(DeserializedClassDescriptor.kt:300)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:408)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:527)
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor$DeserializedClassMemberScope.getContributedDescriptors(DeserializedClassDescriptor.kt:311)
at org.jetbrains.kotlin.resolve.scopes.ResolutionScope$DefaultImpls.getContributedDescriptors$default(ResolutionScope.kt:50)
at org.jetbrains.kotlin.resolve.scopes.SubstitutingScope$_allDescriptors$2.invoke(SubstitutingScope.kt:38)
at org.jetbrains.kotlin.resolve.scopes.SubstitutingScope$_allDescriptors$2.invoke(SubstitutingScope.kt:38)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at org.jetbrains.kotlin.resolve.scopes.SubstitutingScope.get_allDescriptors(SubstitutingScope.kt:38)
at org.jetbrains.kotlin.resolve.scopes.SubstitutingScope.getContributedDescriptors(SubstitutingScope.kt:87)
at org.jetbrains.kotlin.resolve.scopes.ResolutionScope$DefaultImpls.getContributedDescriptors$default(ResolutionScope.kt:50)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.computeExtraDescriptors(LazyClassMemberScope.kt:115)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.doDescriptors(LazyClassMemberScope.kt:72)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.access$doDescriptors(LazyClassMemberScope.kt:51)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$getContributedDescriptors$2.invoke(LazyClassMemberScope.kt:108)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$getContributedDescriptors$2.invoke(LazyClassMemberScope.kt:107)
at org.jetbrains.kotlin.storage.LockBasedStorageManager.compute(LockBasedStorageManager.java:290)
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager.compute(LockBasedLazyResolveStorageManager.kt)
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getContributedDescriptors(LazyClassMemberScope.kt:107)
at org.jetbrains.kotlin.resolve.scopes.ResolutionScope$DefaultImpls.getContributedDescriptors$default(ResolutionScope.kt:50)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor.getDescriptorsWithKind(DefaultDescriptorToDocumentableTranslator.kt:820)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor.getDescriptorsWithKind$default(DefaultDescriptorToDocumentableTranslator.kt:819)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor$classDescriptor$2.invokeSuspend(DefaultDescriptorToDocumentableTranslator.kt:383)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor$classDescriptor$2.invoke(DefaultDescriptorToDocumentableTranslator.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor.classDescriptor(DefaultDescriptorToDocumentableTranslator.kt:382)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor.access$classDescriptor(DefaultDescriptorToDocumentableTranslator.kt:132)
at org.jetbrains.dokka.base.translators.descriptors.DokkaDescriptorVisitor$classDescriptor$1.invokeSuspend(DefaultDescriptorToDocumentableTranslator.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
peekandpoke
07/19/2022, 3:37 PMmbonnin
07/27/2022, 3:48 PMftomassetti
07/29/2022, 10:58 AMandrei.heidelbacher
07/30/2022, 11:18 AMimplementation(libs.dokka.gradle)
to buildSrc/build.gradle.kts
dependencies section and id("org.jetbrains.dokka")
to buildSrc/src/main/kotlin/chronolens.common-conventions.gradle.kts
plugins section, then I get the following error when running any Gradle task (compiling the conventions plugins seems to fail):
e: /home/andrei/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10/bac80c520d0a9e3f3673bc2658c6ed02ef45a76a/kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: /home/andrei/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.7.10/1ef73fee66f45d52c67e2aca12fd945dbe0659bf/kotlin-stdlib-jdk7-1.7.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: /home/andrei/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.7.10/d70d7d2c56371f7aa18f32e984e3e2e998fe9081/kotlin-stdlib-jdk8-1.7.10.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: /home/andrei/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.7.10/d2abf9e77736acc4450dc4a3f707fa2c10f5099d/kotlin-stdlib-1.7.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
Does anyone have any idea how to fix this problem? I tried deletng the .gradle/caches
, but to no avail.andrei.heidelbacher
07/30/2022, 11:25 AMandrei.heidelbacher
07/30/2022, 11:25 AMIgnat Beresnev
07/30/2022, 6:35 PMandrei.heidelbacher
07/30/2022, 9:59 PM