diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/configuration.kt | 2 | ||||
-rw-r--r-- | core/src/main/kotlin/defaultConfiguration.kt | 1 | ||||
-rw-r--r-- | core/src/main/kotlin/model/documentableProperties.kt | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt index a3989ebc..1501ab2f 100644 --- a/core/src/main/kotlin/configuration.kt +++ b/core/src/main/kotlin/configuration.kt @@ -32,6 +32,7 @@ object DokkaDefaults { const val sourceSetName = "main" val moduleVersion: String? = null val pluginsConfiguration = mutableListOf<PluginConfigurationImpl>() + const val suppressObviousFunctions = true } enum class Platform(val key: String) { @@ -98,6 +99,7 @@ interface DokkaConfiguration : Serializable { val pluginsClasspath: List<File> val pluginsConfiguration: List<PluginConfiguration> val delayTemplateSubstitution: Boolean + val suppressObviousFunctions: Boolean enum class SerializationFormat : Serializable { JSON, XML diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt index 869a99ed..ec1dde8e 100644 --- a/core/src/main/kotlin/defaultConfiguration.kt +++ b/core/src/main/kotlin/defaultConfiguration.kt @@ -16,6 +16,7 @@ data class DokkaConfigurationImpl( override val modules: List<DokkaModuleDescriptionImpl> = emptyList(), override val failOnWarning: Boolean = DokkaDefaults.failOnWarning, override val delayTemplateSubstitution: Boolean = false, + override val suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions, ) : DokkaConfiguration data class PluginConfigurationImpl( diff --git a/core/src/main/kotlin/model/documentableProperties.kt b/core/src/main/kotlin/model/documentableProperties.kt index 209a6296..90ab3053 100644 --- a/core/src/main/kotlin/model/documentableProperties.kt +++ b/core/src/main/kotlin/model/documentableProperties.kt @@ -33,4 +33,8 @@ data class ExceptionInSupertypes(val exceptions: SourceSetDependent<List<TypeCon } override val key: ExtraProperty.Key<Documentable, *> = ExceptionInSupertypes +} + +object ObviousMember : ExtraProperty<Documentable>, ExtraProperty.Key<Documentable, ObviousMember> { + override val key: ExtraProperty.Key<Documentable, *> = this }
\ No newline at end of file |