DokkaLocationProvider

open class DokkaLocationProvider(    pageGraphRoot: RootPageNode,     dokkaContext: DokkaContext,     val extension: String = ".html") : DokkaBaseLocationProvider

Constructors

Link copied to clipboard
fun DokkaLocationProvider(    pageGraphRoot: RootPageNode,     dokkaContext: DokkaContext,     extension: String = ".html")

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun ancestors(node: PageNode): List<PageNode>
Link copied to clipboard
open fun anchorForDCI(dci: DCI, sourceSets: Set<DisplaySourceSet>): String

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
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

Link copied to clipboard
open override fun pathToRoot(from: PageNode): String
Link copied to clipboard
open override fun resolve(    dri: DRI,     sourceSets: Set<DisplaySourceSet>,     context: PageNode?): String?
open override fun resolve(    node: PageNode,     context: PageNode?,     skipExtension: Boolean): String

Properties

Link copied to clipboard
val extension: String