It's a bit weird to have `/jvm` in all the Kotlin ...
# kotlin-website
l
It's a bit weird to have
/jvm
in all the Kotlin reference URLs. It becomes quite funky when you land on symbols that are not even JVM compatible: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.concurrent/-atomic-int/
k
Thank you for feedback 🥳. Nice idea, but i see two barriers for this change: • It’s difficult to drop
/jvm/
with a previous Dokka version. However the current version has some blockers for stdlib - #3354, KT-56076 • In this case, we need to maintain the old URLs. This entails adding approximately 12-16k redirects (for external articles and so on), which poses a risk to organic traffic from search engines. Actually, we have some plans to fix this, once we are confident in how to do it safely.
But yep…. it would be nice move it to
<http://kotlinlang.org/api/core/[package/entity]|kotlinlang.org/api/core/[package/entity]>
for ex. Like other libs: • https://kotlinlang.org/api/kotlinx-metadata-jvm/ • https://kotlinlang.org/api/kotlinx.coroutines/ • https://kotlinlang.org/api/kotlinx.serialization/
k
By the way, the url is
.../api/latest/...
no matter what version you choose from the drop-down list, which can also look weird.
k
Guys from #dokka support core api with new engine 🥳 I think, reasonable move it there - https://kotlinlang.org/api/core/