package example
@Retention(AnnotationRetention.SOURCE)
@Deprecated(message = "Sample deprecation message that is very long and i want to make it even longer because why not")
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.EXPRESSION, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.PROPERTY])
annotation class SampleClass {
}
Placed in example project, in directory: src/jvmMain/kotlin/example/SampleClass.kt
Given code:
Placed in example project, in directory:
src/jvmMain/kotlin/example/SampleClass.kt
When user generates a GFM output links to annotations are generated incorrectly, for example to: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-annotation-retention/-s-o-u-r-c-e/ rather than: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-annotation-retention/-s-o-u-r-c-e.html