aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Generation/configurationImpl.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/Generation/configurationImpl.kt')
-rw-r--r--core/src/main/kotlin/Generation/configurationImpl.kt14
1 files changed, 2 insertions, 12 deletions
diff --git a/core/src/main/kotlin/Generation/configurationImpl.kt b/core/src/main/kotlin/Generation/configurationImpl.kt
index 425b016b..b51857e7 100644
--- a/core/src/main/kotlin/Generation/configurationImpl.kt
+++ b/core/src/main/kotlin/Generation/configurationImpl.kt
@@ -3,7 +3,6 @@ package org.jetbrains.dokka
import org.jetbrains.dokka.DokkaConfiguration.SourceLinkDefinition
import org.jetbrains.dokka.DokkaConfiguration.SourceRoot
import java.io.File
-import java.net.URL
data class SourceLinkDefinitionImpl(override val path: String,
@@ -35,16 +34,6 @@ data class PackageOptionsImpl(override val prefix: String,
override val reportUndocumented: Boolean = true,
override val skipDeprecated: Boolean = false) : DokkaConfiguration.PackageOptions
-data class ExternalDocumentationLinkImpl(override val url: URL,
- override val packageListUrl: URL) : DokkaConfiguration.ExternalDocumentationLink {
- constructor(root: URL) : this(root, URL(root, "package-list"))
-
- constructor(root: String) : this(URL(root))
-
- constructor(root: String, packageListUrl: String) : this(URL(root), URL(packageListUrl))
-
-}
-
data class DokkaConfigurationImpl(override val moduleName: String,
override val classpath: List<String>,
override val sourceRoots: List<SourceRootImpl>,
@@ -61,4 +50,5 @@ data class DokkaConfigurationImpl(override val moduleName: String,
override val generateIndexPages: Boolean,
override val sourceLinks: List<SourceLinkDefinitionImpl>,
override val impliedPlatforms: List<String>,
- override val perPackageOptions: List<PackageOptionsImpl>) : DokkaConfiguration \ No newline at end of file
+ override val perPackageOptions: List<PackageOptionsImpl>,
+ override val externalDocumentationLinks: List<ExternalDocumentationLinkImpl>) : DokkaConfiguration \ No newline at end of file