Also I'm looking for a way as to how to tell dokka...
# dokka
r
Also I'm looking for a way as to how to tell dokka in a multimodule gradle project to automatically resolve links for other dokka generated files of all other modules in the same project. This is for the Arrow library. Our current dokka config looks like this: https://github.com/arrow-kt/arrow/blob/rr-meta-kdoc/build.gradle#L90-L112
s
So basically you want to configure external links properly
To make Dokka understand where other modules is located
r
yes, that is the idea. In a multi module project you may want to reference types in kdocs where those types are not necessarily in the same compilation unit and still have dokka produce valid links so you can navigate back and forth.
s
So, then take a look on external links
r
Do you mean externalDocumentationLink ?
That requires I create a package list for modules that a project is already aware of? I thought the Gradle plugin knew I'm asking to run dokka in a multimodule project and would just resolve the links. If not how do I have dokka generate the package list that all modules can use as index for links?