diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/all-modules-page/src/main/kotlin/AllModulesPageGeneration.kt | 2 | ||||
-rw-r--r-- | plugins/base/src/main/kotlin/generation/SingleModuleGeneration.kt | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/all-modules-page/src/main/kotlin/AllModulesPageGeneration.kt b/plugins/all-modules-page/src/main/kotlin/AllModulesPageGeneration.kt index c11b18b2..21c624ef 100644 --- a/plugins/all-modules-page/src/main/kotlin/AllModulesPageGeneration.kt +++ b/plugins/all-modules-page/src/main/kotlin/AllModulesPageGeneration.kt @@ -70,4 +70,4 @@ class AllModulesPageGeneration(private val context: DokkaContext) : Generation { data class DefaultAllModulesContext(val nonEmptyModules: List<String>) : CreationContext { constructor(templating: TemplatingResult) : this(templating.modules) } -}
\ No newline at end of file +} diff --git a/plugins/base/src/main/kotlin/generation/SingleModuleGeneration.kt b/plugins/base/src/main/kotlin/generation/SingleModuleGeneration.kt index 9bf61af9..e0deef17 100644 --- a/plugins/base/src/main/kotlin/generation/SingleModuleGeneration.kt +++ b/plugins/base/src/main/kotlin/generation/SingleModuleGeneration.kt @@ -19,6 +19,7 @@ import org.jetbrains.dokka.utilities.parallelMap import org.jetbrains.dokka.utilities.report class SingleModuleGeneration(private val context: DokkaContext) : Generation { + override fun Timer.generate() { report("Validity check") validityCheck(context) @@ -48,7 +49,7 @@ class SingleModuleGeneration(private val context: DokkaContext) : Generation { reportAfterRendering() } - override val generationName = " documentation for ${context.configuration.moduleName}" + override val generationName = "documentation for ${context.configuration.moduleName}" fun createDocumentationModels() = runBlocking(Dispatchers.Default) { context.configuration.sourceSets.parallelMap { sourceSet -> translateSources(sourceSet, context) }.flatten() @@ -105,4 +106,4 @@ class SingleModuleGeneration(private val context: DokkaContext) : Generation { else -> translator.invoke(sourceSet, context) } } -}
\ No newline at end of file +} |