I just started having a look at the Kotlin repo by...
# kontributors
t
I just started having a look at the Kotlin repo by adding a sample to the standard library. While doing that I noticed that some of the generated samples on the website don't run, for example https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/with-index.html . The reason is that the
import samples.Sample
leaks through to the webpage and there the import cannot be found. I guess, changing the import statement to
samples.*
would fix this, but it would be cleaner to correct the generation of the html. Could someone point me to where this HTML is generated?
i
Thanks for noticing that. I suppose the runnable sample generation is built into dokka tool.
t
Thanks, I'll have a look at that.
The change is simple enough. I don't know how to test that, though.