QuarkdocDokkaPlugin

class QuarkdocDokkaPlugin : DokkaPlugin

Dokka plugin that generates ad-hoc documentation for native Quarkdown functions.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val documentableNameTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Functions and parameters annotated with @Name are renamed in the function signature.

Link copied to clipboard
val documentationNameTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Functions and parameters annotated with @Name are renamed in the documentation. This includes:

val documentNegativeTypeConstraintsTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Like documentPositiveTypeConstraintsTransformer but for the negative case, via @NotForDocumentType.

val documentPositiveTypeConstraintsTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Given a function annotated with @OnlyForDocumentType which defines constraints about the document type the function supports, this transformer stores this data for documentTypeConstraintsPageTransformer to display it.

Link copied to clipboard
val documentTypeConstraintsPageTransformer: Extension<PageTransformer, *, *>

Displays the document type constraints produced by documentTypeConstraintsTransformer in the documentation.

Link copied to clipboard
val enumParameterEntryListerTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Lists enum entries in the documentation for parameters that expect an enum.

Link copied to clipboard
val enumStorer: Extension<PreMergeDocumentableTransformer, *, *>

Stores enum declarations, to be used in enumParameterEntryListerTransformer.

Link copied to clipboard
val moduleAsPackageTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Quarkdown modules, defined by a com.quarkdown.core.function.library.loader.Module property, contain the functions declared in the same source file and are shown in the documentation as packages.

Link copied to clipboard
val modulesStorer: Extension<PreMergeDocumentableTransformer, *, *>

Stores the modules in which the functions are declared, to be used in moduleAsPackageTransformer.

Link copied to clipboard
val renamingsStorer: Extension<PreMergeDocumentableTransformer, *, *>

Stores the old-new function name pairs, to be used in documentableNameTransformer and documentationNameTransformer.

Link copied to clipboard
val signatureProvider: Extension<SignatureProvider, *, *>

Generates Quarkdown signatures for functions in Quarkdown modules.

Link copied to clipboard
val suppressInjectedTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Parameters annotated with @Injected are hidden (suppressed) in the generated documentation.

Link copied to clipboard
val valueTypeTransformer: Extension<PreMergeDocumentableTransformer, *, *>

Renames references of com.quarkdown.core.function.value.Value, and subclasses, in the signature to a more human-readable form.