Package-level declarations

Types

Link copied to clipboard
@Serializable
data class DocsIndex(val functions: List<IndexedFunction>)

Pre-extracted documentation index, generated at documentation build time by the Quarkdoc Dokka plugin, so that consumers (e.g. the language server) can read function documentation without parsing HTML.

Link copied to clipboard

Extractor over a pre-extracted IndexedFunction: content is returned in Markdown.

Link copied to clipboard

Walker of pre-extracted DocsIndex payloads, the fast path over com.quarkdown.quarkdoc.reader.dokka.DokkaHtmlWalker: content is already in Markdown and requires no HTML processing.

Link copied to clipboard
@Serializable
data class IndexedFunction(val name: String, val moduleName: String?, val function: DocsFunction, val contentMarkdown: String?)

A function entry of a DocsIndex.

Properties

Link copied to clipboard

File name of the documentation index within the documentation root directory.

Functions

Link copied to clipboard
fun readDocsIndexes(docsRoot: File): List<String>

Recursively discovers DOCS_INDEX_FILE_NAME index files within docsRoot and reads their content. A documentation tree may carry multiple index files, one per documentation module.