Dokka Location Provider
open class DokkaLocationProvider(pageGraphRoot: RootPageNode, dokkaContext: DokkaContext, val extension: String = ".html") : DokkaBaseLocationProvider
Functions
Link copied to clipboard
Anchors should be unique and should contain sourcesets, dri and contentKind. The idea is to make them as short as possible and just use a hashCode from sourcesets in order to match the 2040 characters limit
Link copied to clipboard
This method should return guessed filesystem location for a given DRI It is used to decide if a DRI should be present in the relocation list of the generated package-list so it is ok if the path differs from the one returned by resolve
Link copied to clipboard
Link copied to clipboard
fun LocationProvider.resolveOrThrow(dri: DRI, sourceSets: Set<DisplaySourceSet>, context: PageNode? = null): String
fun LocationProvider.resolveOrThrow(node: PageNode, context: PageNode? = null, skipExtension: Boolean = false): String