Hi! A very similar plugin is written for knit:
https://github.com/Kotlin/kotlinx-knit/tree/main/pathsaver
It exports all of the names and paths into a json file so that knit can find relevant links later on
You can add it as a dependency and just build your project, it should generate the json file in the build folder. It might be enough for your use case :)
dependencies {
dokkaPlugin("org.jetbrains.kotlinx:dokka-pathsaver-plugin:$knit_version")
}