aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/resolvers/LocationProvider.kt
blob: 3bc9ab728b9dd79aa8781dba9c8cc3cb1a48d3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.jetbrains.dokka.resolvers

import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.pages.ContentPage
import org.jetbrains.dokka.pages.PageNode
import org.jetbrains.dokka.pages.PlatformData

interface LocationProvider {
    fun resolve(dri: DRI, platforms: List<PlatformData>, context: PageNode? = null): String
    fun resolve(node: PageNode, context: PageNode? = null, skipExtension: Boolean = false): String
    fun resolveRoot(node: PageNode): String
    fun ancestors(node: PageNode): List<PageNode>
}