diff options
Diffstat (limited to 'integration/src/main/kotlin/org/jetbrains/dokka')
-rw-r--r-- | integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt index 90ba41ce..5d10f6d2 100644 --- a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt +++ b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt @@ -17,10 +17,12 @@ interface DokkaConfiguration { val jdkVersion: Int val generateIndexPages: Boolean val sourceLinks: List<SourceLinkDefinition> + val impliedPlatforms: List<String> + val perPackageOptions: List<PackageOptions> interface SourceRoot { val path: String - val defaultPlatforms: List<String> + val platforms: List<String> } interface SourceLinkDefinition { @@ -28,6 +30,13 @@ interface DokkaConfiguration { val url: String val lineSuffix: String? } + + interface PackageOptions { + val prefix: String + val includeNonPublic: Boolean + val reportUndocumented: Boolean + val skipDeprecated: Boolean + } } data class SerializeOnlyDokkaConfiguration(override val moduleName: String, @@ -44,4 +53,6 @@ data class SerializeOnlyDokkaConfiguration(override val moduleName: String, override val skipDeprecated: Boolean, override val jdkVersion: Int, override val generateIndexPages: Boolean, - override val sourceLinks: List<DokkaConfiguration.SourceLinkDefinition>) : DokkaConfiguration + override val sourceLinks: List<DokkaConfiguration.SourceLinkDefinition>, + override val impliedPlatforms: List<String>, + override val perPackageOptions: List<DokkaConfiguration.PackageOptions>) : DokkaConfiguration |