From 02f30b142aa467d3a24cc52a1fe3f2fed7ea1e33 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 31 Aug 2023 20:16:01 +0200 Subject: Enable explicit API mode (#3139) --- core/src/main/kotlin/pages/ContentNodes.kt | 86 +++++++++++----------- core/src/main/kotlin/pages/PageNodes.kt | 48 ++++++------ core/src/main/kotlin/pages/Pages.kt | 10 +-- core/src/main/kotlin/pages/RendererSpecificPage.kt | 37 +++++----- .../src/main/kotlin/pages/contentNodeProperties.kt | 17 +++-- core/src/main/kotlin/pages/utils.kt | 4 +- 6 files changed, 104 insertions(+), 98 deletions(-) (limited to 'core/src/main/kotlin/pages') diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt index 87178277..96f43205 100644 --- a/core/src/main/kotlin/pages/ContentNodes.kt +++ b/core/src/main/kotlin/pages/ContentNodes.kt @@ -10,25 +10,25 @@ import org.jetbrains.dokka.model.WithChildren import org.jetbrains.dokka.model.properties.PropertyContainer import org.jetbrains.dokka.model.properties.WithExtraProperties -data class DCI(val dri: Set, val kind: Kind) { - override fun toString() = "$dri[$kind]" +public data class DCI(val dri: Set, val kind: Kind) { + override fun toString(): String = "$dri[$kind]" } -interface ContentNode : WithExtraProperties, WithChildren { - val dci: DCI - val sourceSets: Set - val style: Set