raulraja
03/05/2019, 9:05 PM// Allows linking to documentation of the project's dependencies (generated with Javadoc or Dokka)
// Repeat for multiple links
externalDocumentationLink {
// Root URL of the generated documentation to link with. The trailing slash is required!
url = new URL("<https://example.com/docs/>")
// If package-list file located in non-standard location
// packageListUrl = new URL("file:///home/user/localdocs/package-list")
}
And package-list
is briefly mentioned. Isn't each module responsible for generating a package-list
or how does a user instruct dokka to generate one for a given module that others can consume locally or remotely?
Are there other docs for Dokka beside
https://github.com/Kotlin/dokka#dokka-----
https://kotlinlang.org/docs/reference/kotlin-doc.html
?
We rely on dokka to generate the Arrow documentation and currently there is a bunch of places where it's unable to link referenced types from other modules. For example https://arrow-kt.io/docs/apidocs/arrow-mtl/arrow.mtl.extensions.option.functor-filter/arrow.-kind/index.html contains no link to Option
because it's in a different module: https://arrow-kt.io/docs/apidocs/arrow-core-data/arrow.core/-option/index.htmlsemoro
03/19/2019, 9:24 PMurl
parameter of external link, and
local url to packageListUrl
parametersemoro
03/19/2019, 9:26 PMdokka {
classpath = configurations.compile
externalDocumentationLink {
url = new URL("<http://example.com/project-a/>")
packageListUrl = new URL("file://${project(":projectA").buildDir}/dokka/projectA/package-list")
}
}
raulraja
03/19/2019, 9:55 PM