https://kotlinlang.org logo
Title
d

darkmoon_uk

03/11/2023, 5:12 AM
"Making our documentation *available*" Is there any 1st/3rd party solution for hosting multiple, versioned Doc sets with version selector e.g. as some Docker hosted service, to which CI can post newly released versions? I feel this should exist.
h

hfhbd

03/11/2023, 7:53 AM
Do you mean this? https://api.ktor.io Ktor uses the dokka versioning plugin: https://github.com/Kotlin/dokka/tree/master/plugins/versioning
d

darkmoon_uk

03/11/2023, 8:13 AM
Yes, that is the functionality I'm looking for
Not sure writing my own Ktor server featuring this plugin is quite the turn key solution I had in mind, will look to see if anyone's wrapped it up...
h

hfhbd

03/11/2023, 8:22 AM
You don't need ktor. The ktor api was just an example.
d

darkmoon_uk

03/11/2023, 8:29 AM
Thanks will check it out
b

Big Chungus

03/11/2023, 10:14 PM
mkdocs-material + mike combo allow hosting versioned docs on gh pages
Here's an example in action https://npm-publish.petuska.dev/3.2/
d

darkmoon_uk

03/11/2023, 10:20 PM
Thanks @Big Chungus, we are likely switching to GitHub soon so this may be directly usable 👍
b

Big Chungus

03/11/2023, 10:23 PM
Gh packages are not required here tbh, any static website hosting service can be made to work