diff options
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/innerTemplating')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/innerTemplating/DefaultTemplateModelFactory.kt | 3 | ||||
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/innerTemplating/TemplateModelFactory.kt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/innerTemplating/DefaultTemplateModelFactory.kt b/plugins/base/src/main/kotlin/renderers/html/innerTemplating/DefaultTemplateModelFactory.kt index 6c746b37..3437271a 100644 --- a/plugins/base/src/main/kotlin/renderers/html/innerTemplating/DefaultTemplateModelFactory.kt +++ b/plugins/base/src/main/kotlin/renderers/html/innerTemplating/DefaultTemplateModelFactory.kt @@ -40,7 +40,6 @@ class DefaultTemplateModelFactory(val context: DokkaContext) : TemplateModelFact page: PageNode, resources: List<String>, locationProvider: LocationProvider, - shouldRenderSourceSetBubbles: Boolean, content: String ): TemplateMap { val path = locationProvider.resolve(page) @@ -66,7 +65,7 @@ class DefaultTemplateModelFactory(val context: DokkaContext) : TemplateModelFact } mapper["template_cmd"] = TemplateDirective(context.configuration, pathToRoot) - if (shouldRenderSourceSetBubbles && page is ContentPage) { + if (page is ContentPage) { val sourceSets = page.content.withDescendants() .flatMap { it.sourceSets } .distinct() diff --git a/plugins/base/src/main/kotlin/renderers/html/innerTemplating/TemplateModelFactory.kt b/plugins/base/src/main/kotlin/renderers/html/innerTemplating/TemplateModelFactory.kt index ceecf201..0d4c957e 100644 --- a/plugins/base/src/main/kotlin/renderers/html/innerTemplating/TemplateModelFactory.kt +++ b/plugins/base/src/main/kotlin/renderers/html/innerTemplating/TemplateModelFactory.kt @@ -8,9 +8,8 @@ interface TemplateModelFactory { page: PageNode, resources: List<String>, locationProvider: LocationProvider, - shouldRenderSourceSetBubbles: Boolean, content: String ): TemplateMap fun buildSharedModel(): TemplateMap -}
\ No newline at end of file +} |