SimpleDocumentationMapper

A simple implementation of DocumentationMapper that performs a shallow mapping of documentation nodes.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun map(documentation: DokkaDocumentation): DokkaDocumentation

Maps a full documentation using the registered mappers.

open override fun map(node: WithChildren<*>): WithChildren<*>

Maps a documentation node using the registered mappers.

Link copied to clipboard
open override fun <T : WithChildren<*>> register(nodeType: KClass<T>, mapper: (T) -> WithChildren<*>): DocumentationMapper

Registers a mapper for a specific type of documentation node.