DocBundleLoader

Interface for loading the packaged docs bundle.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun hasTranslatedResource(pageId: String, locale: String): Boolean

Check whether a Crowdin-translated resource exists for the given page and locale.

Link copied to clipboard
abstract suspend fun load(): DocBundle
Link copied to clipboard
abstract fun pagesBySection(section: DocSection): List<DocPage>
Link copied to clipboard
abstract suspend fun readPage(pageId: String): DocPageContent?