Andrey Tyrin
Andrey Tyrin
```Kotlin class A{ /** * Reference to class: [A] */ constructor(s: String) } ``` In K1 the link `[A]` from kdoc leads to the class A page In K2 the...
```Kotlin /** * @see [java.io.StringReader.lock] see property * @see [java.io.StringReader.mark] see method */ class ClassKDocLocation { } ``` The links for the class and method are correct. But 1. for...
```Kotlin class JavaNetCookieJar interface CookieJar { /** * Markdown syntax ```code``` * This references doesn't work: [System.currentTimeMillis] and [JavaNetCookieJar]. */ fun saveFromResponse(url: String) } ``` In K1, references are resolved:...
In a KMP configure samples like ```Kotlin tasks.dokkaHtml.configure { dokkaSourceSets { configureEach { samples.from("src/commonMain/kotlin/samples.kt") } } } ``` and use a sample from the file in a platform source set...
Blocking issues. Mostly, all of them create a lot of noise in the output of a random project. * https://github.com/Kotlin/dokka/issues/3196 * https://github.com/Kotlin/dokka/issues/3335 * https://github.com/Kotlin/dokka/issues/3363 * https://github.com/Kotlin/dokka/issues/3388 Not blocking, but nice...
```Kotlin /** * @property propertyWithKDoc some prop */ class CrossLinksSource(){ val propertyWithKDoc: Int = 0 } ``` With `kotlin-as-java` plugin the generated getter doesn't get the description. In K1 it...
```Kotlin class DefValue(val str: String = "defString") ``` Setup source linking and apply `kotlin-as-java` Dokka plugin. Output in K1 for getter method will have source link and for K2 it...
The case is pretty synthetic, but I had such code in my project, so `Parent.java` ```Java public class Parent { public int publicPropertyWithProtectedGetterProtectedSetter = 0; protected int getPublicPropertyWithProtectedGetterProtectedSetter() { return...
`Parent.java`: ```Java public class Parent { protected int protectedPropertyWithPublicGetterPublicSetter = 0; public int getProtectedPropertyWithPublicGetterPublicSetter() { return protectedPropertyWithPublicGetterPublicSetter; } public void setProtectedPropertyWithPublicGetterPublicSetter(int protectedPropertyWithPublicGetterPublicSetter) { this.protectedPropertyWithPublicGetterPublicSetter = protectedPropertyWithPublicGetterPublicSetter; } } ``` `Child.kt`...
For a configured project with a custom CSS (and probably assets), incremental documentation rebuild ignores changes in static files. Dokka configured for multiModule project. The configuration contains: ```Kotlin pluginConfiguration {...