Package org.jetbrains.dokka.pages

Types

Link copied to clipboard
interface ClasslikePage : ContentPage, WithDocumentables
Link copied to clipboard
class ClasslikePageNode(    val name: String,     val content: ContentNode,     val dri: Set<DRI>,     val documentables: List<Documentable> = listOf(),     val children: List<PageNode>,     val embeddedResources: List<String> = listOf()) : ClasslikePage
Link copied to clipboard
object CommentTable : Style
Link copied to clipboard
data class ContentBreakLine(    val sourceSets: Set<DisplaySourceSet>,     val dci: DCI = DCI(emptySet(), ContentKind.Empty),     val style: Set<Style> = emptySet(),     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentNode
Link copied to clipboard
interface ContentCode : ContentComposite
Link copied to clipboard
data class ContentCodeBlock(    val children: List<ContentNode>,     val language: String,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentCode

Code blocks

Link copied to clipboard
data class ContentCodeInline(    val children: List<ContentNode>,     val language: String,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentCode
Link copied to clipboard
interface ContentComposite : ContentNode

Logical grouping of ContentNodes

Link copied to clipboard
data class ContentDivergentGroup(    val children: List<ContentDivergentInstance>,     val dci: DCI,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode>,     val groupID: ContentDivergentGroup.GroupID,     val implicitlySourceSetHinted: Boolean = true) : ContentComposite
Link copied to clipboard
data class ContentDivergentInstance(    val before: ContentNode?,     val divergent: ContentNode,     val after: ContentNode?,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentComposite

Instance of a divergent content

Link copied to clipboard
data class ContentDRILink(    val children: List<ContentNode>,     val address: DRI,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style> = emptySet(),     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentLink

All links to classes, packages, etc. that have te be resolved

Link copied to clipboard
data class ContentEmbeddedResource(    val children: List<ContentNode> = emptyList(),     val address: String,     val altText: String?,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style> = emptySet(),     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentLink

Embedded resources like images

Link copied to clipboard
data class ContentGroup(    val children: List<ContentNode>,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentComposite

Default group, eg. for blocks of Functions, Properties, etc.

Link copied to clipboard
data class ContentHeader(    val children: List<ContentNode>,     val level: Int,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentComposite

Headers

Link copied to clipboard
enum ContentKind : Enum<ContentKind> , Kind

ContentKind represents a grouping of content of one kind. This can be rendered as either a part of a composite page (one tab/block within a class's page, for instance) or as a separate page altogether.

Link copied to clipboard
interface ContentLink : ContentComposite

Union type replacement

Link copied to clipboard
data class ContentList(    val children: List<ContentNode>,     val ordered: Boolean,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentComposite

Lists

Link copied to clipboard
interface ContentNode : WithExtraProperties<ContentNode> , WithChildren<ContentNode>
Link copied to clipboard
interface ContentPage : PageNode
Link copied to clipboard
data class ContentResolvedLink(    val children: List<ContentNode>,     val address: String,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style> = emptySet(),     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentLink

All links that do not need to be resolved

Link copied to clipboard
enum ContentStyle : Enum<ContentStyle> , Style
Link copied to clipboard
data class ContentTable(    val header: List<ContentGroup>,     val caption: ContentGroup? = null,     val children: List<ContentGroup>,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style>,     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentComposite

Tables

Link copied to clipboard
data class ContentText(    val text: String,     val dci: DCI,     val sourceSets: Set<DisplaySourceSet>,     val style: Set<Style> = emptySet(),     val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentNode

Simple text

Link copied to clipboard
data class DCI(val dri: Set<DRI>, val kind: Kind)
Link copied to clipboard
fun interface DriResolver : Function2<DRI, Set<DisplaySourceSet>, String?>
Link copied to clipboard
Link copied to clipboard
interface Kind
Link copied to clipboard
enum ListStyle : Enum<ListStyle> , Style
Link copied to clipboard
interface MemberPage : ContentPage, WithDocumentables
Link copied to clipboard
class MemberPageNode(    val name: String,     val content: ContentNode,     val dri: Set<DRI>,     val documentables: List<Documentable> = listOf(),     val children: List<PageNode> = emptyList(),     val embeddedResources: List<String> = listOf()) : MemberPage
Link copied to clipboard
interface ModulePage : ContentPage, WithDocumentables
Link copied to clipboard
class ModulePageNode(    val name: String,     val content: ContentNode,     val documentables: List<Documentable> = listOf(),     val children: List<PageNode>,     val embeddedResources: List<String> = listOf()) : RootPageNode, ModulePage
Link copied to clipboard
interface MultimoduleRootPage : ContentPage
Link copied to clipboard
class MultimoduleRootPageNode(    val dri: Set<DRI>,     val content: ContentNode,     val embeddedResources: List<String> = emptyList()) : RootPageNode, MultimoduleRootPage
Link copied to clipboard
object MultimoduleTable : Style
Link copied to clipboard
interface PackagePage : ContentPage, WithDocumentables
Link copied to clipboard
class PackagePageNode(    val name: String,     val content: ContentNode,     val dri: Set<DRI>,     val documentables: List<Documentable> = listOf(),     val children: List<PageNode>,     val embeddedResources: List<String> = listOf()) : PackagePage
Link copied to clipboard
interface PageNode : WithChildren<PageNode>
Link copied to clipboard
fun interface PageResolver : Function2<PageNode, PageNode?, String?>
Link copied to clipboard
data class PlatformHintedContent(val inner: ContentNode, val sourceSets: Set<DisplaySourceSet>) : ContentComposite
Link copied to clipboard
interface RendererSpecificPage : PageNode
Link copied to clipboard
class RendererSpecificResourcePage(    val name: String,     val children: List<PageNode>,     val strategy: RenderingStrategy) : RendererSpecificPage
Link copied to clipboard
class RendererSpecificRootPage(    val name: String,     val children: List<PageNode>,     val strategy: RenderingStrategy) : RootPageNode, RendererSpecificPage
Link copied to clipboard
sealed class RenderingStrategy
Link copied to clipboard
abstract class RootPageNode(val forceTopLevelName: Boolean = false) : PageNode
Link copied to clipboard
class SimpleAttr(val extraKey: String, val extraValue: String) : ExtraProperty<ContentNode>
Link copied to clipboard
interface Style
Link copied to clipboard
enum SymbolContentKind : Enum<SymbolContentKind> , Kind

Content kind for ContentKind.Symbol content, which is essentially about signatures

Link copied to clipboard
enum TextStyle : Enum<TextStyle> , Style
Link copied to clipboard
enum TokenStyle : Enum<TokenStyle> , Style
Link copied to clipboard
interface WithDocumentables
Link copied to clipboard
data class WrongRendererTypeException(val expectedType: KClass<*>) : Exception

Functions

Link copied to clipboard
inline fun <T : PageNode> PageNode.children(): List<T>
Link copied to clipboard
fun ContentNode.hasStyle(style: Style): Boolean
Link copied to clipboard
inline fun <T : ContentNode, R : ContentNode> R.mapTransform(noinline operation: (T) -> T): R
Link copied to clipboard
inline fun <T : ContentNode, R : ContentNode> R.recursiveMapTransform(noinline operation: (T) -> T): R