https://kotlinlang.org logo
#kotlin-website
Title
# kotlin-website
l

louiscad

02/28/2024, 4:24 PM
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

Konstantin Chernenko

02/28/2024, 11:08 PM
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

Klitos Kyriacou

02/29/2024, 9:40 AM
By the way, the url is
.../api/latest/...
no matter what version you choose from the drop-down list, which can also look weird.
2 Views