DokkaBaseLocationProvider

abstract class DokkaBaseLocationProvider(pageGraphRoot: RootPageNode, dokkaContext: DokkaContext) : DefaultLocationProvider

Functions

ancestors
Link copied to clipboard
abstract fun ancestors(node: PageNode): List<PageNode>
anchorForDCI
Link copied to clipboard
open fun anchorForDCI(dci: DCI, sourceSets: Set<DisplaySourceSet>): String
Anchors should be unique and should contain sourcesets, dri and contentKind.
expectedLocationForDri
Link copied to clipboard
open fun expectedLocationForDri(dri: DRI): String
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
pathToRoot
Link copied to clipboard
abstract fun pathToRoot(from: PageNode): String
resolve
Link copied to clipboard
abstract fun resolve(dri: DRI, sourceSets: Set<DisplaySourceSet>, context: PageNode? = null): String?
abstract fun resolve(node: PageNode, context: PageNode? = null, skipExtension: Boolean = false): String?

Inheritors

DokkaLocationProvider
Link copied to clipboard