Package-level declarations

Types

Link copied to clipboard
class DokkaConsoleLogger(minLevel: LoggingLevel = LoggingLevel.PROGRESS, emitter: MessageEmitter = MessageEmitter.consoleEmitter) : DokkaLogger
Link copied to clipboard
interface DokkaLogger
Link copied to clipboard
Link copied to clipboard
fun interface MessageEmitter : Function1<String, Unit>

Used to decouple the transport layer from logger and make it convenient for testing

Link copied to clipboard
data class ServiceDescriptor(val name: String, val category: String, val description: String?, val className: String)
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <K, V : Any> Iterable<K>.associateWithNotNull(valueSelector: (K) -> V?): Map<K, V>
Link copied to clipboard
inline fun <T> Any.cast(): T
Link copied to clipboard
inline fun <T : Any> Iterable<*>.firstIsInstanceOrNull(): T?
inline fun <T : Any> Sequence<*>.firstIsInstanceOrNull(): T?

This utility method was previously imported from org.jetbrains.kotlin.utils.addToStdlib, and there were a lot of usages. Since no replacement exists in stdlib, it was implemented locally for convenience.

Link copied to clipboard
Link copied to clipboard

Replaces symbols reserved in HTML with their respective entities. Replaces & with &, < with < and with >

Link copied to clipboard
inline suspend fun <A> Iterable<A>.parallelForEach(crossinline f: suspend (A) -> Unit)
Link copied to clipboard
inline suspend fun <A, B> Iterable<A>.parallelMap(crossinline f: suspend (A) -> B): List<B>
Link copied to clipboard
inline suspend fun <A, B> Iterable<A>.parallelMapNotNull(crossinline f: suspend (A) -> B?): List<B>
Link copied to clipboard
fun URI.relativeTo(uri: URI): URI
Link copied to clipboard
Link copied to clipboard