https://kotlinlang.org logo
#opensource
Title
# opensource
h

holgerbrandl

11/17/2020, 9:40 AM
Hey there, do you guys know if the underlying stack of https://play.kotlinlang.org/ is publicly available in a way that we/I could use it to include executable examples in the documentation of a kotlin open-source project?
👀 1
l

louiscad

11/17/2020, 10:42 AM
I think there's a #dokka feature called "samples" for that. There's also the source of Kotlin Playground: https://github.com/JetBrains/kotlin-playground I know that #data2viz uses inline playgrounds (as seen in Kotlin docs online) as well.
h

holgerbrandl

11/17/2020, 10:49 AM
I think dokka samples relate more to sample inclusion into generated docs. I'm using this feature already. kotlin-playground is answer I was looking for. Fingers crossed that I'll manage to setup this fancy piece of tech. Thank you for the pointer.
r

robstoll

11/17/2020, 12:17 PM
Do you mind sharing your results in the end? I was thinking to do the same as well but did not have the time so far.
h

holgerbrandl

11/17/2020, 1:38 PM
Sure thing, just watch https://github.com/holgerbrandl/kalasim/issues/7 which I'm using to track it
👍 2