Package-level declarations

Properties

Link copied to clipboard
val WithSources.sourcePaths: List<String>

The paths to the source files of a documentable object.

Functions

Link copied to clipboard
fun Iterable<DPackage>.difference(others: Iterable<DPackage>): List<DPackage>
Link copied to clipboard
fun DokkaContext.documentableContentBuilder(documentable: Documentable, dri: Set<DRI>): PageContentBuilder.DocumentableContentBuilder

Creates a PageContentBuilder.DocumentableContentBuilder for the given Documentable.

Link copied to clipboard
inline fun <T> Documentable.extractAnnotation(): Annotations.Annotation?
Link copied to clipboard
inline fun <T> Documentable.hasAnnotation(): Boolean
Link copied to clipboard
inline fun <T> DRI.isOfType(): Boolean
fun DRI.isOfType(packageName: String, className: String): Boolean
Link copied to clipboard
fun <E : Enum<*>> Annotations.Annotation.parameterToEnumArray(paramName: String, valueOf: (String) -> E): List<E>

Converts the parameter of an annotation to a list of enums of type E using the provided valueOf function.

Link copied to clipboard
fun <E : Enum<*>> EnumValue.toEnum(valueOf: (String) -> E): E

Converts an EnumValue to an enum of type E using the provided valueOf function.

Link copied to clipboard
fun <T : WithChildren<*>> T.tryCopy(newChildren: List<DocTag>): T

Attempts to copy the current instance of this with the new children provided.

Link copied to clipboard
fun <T : Any, W : WithExtraProperties<T>> W.withAddedExtra(vararg extra: ExtraProperty<T>): T

Appends the given extra property to the given object.