aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-11 14:10:37 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit334619d42d3c26379429ea8cdab13b28c87c159e (patch)
tree928a933b0a914f62a8a45acbf6b3cb59ecf2f728 /core/src
parent33d962a55a559aa706649c29d9dd85d724cc37d9 (diff)
downloaddokka-334619d42d3c26379429ea8cdab13b28c87c159e.tar.gz
dokka-334619d42d3c26379429ea8cdab13b28c87c159e.tar.bz2
dokka-334619d42d3c26379429ea8cdab13b28c87c159e.zip
Refine and test `GradleSourceLinkBuilder` and SourceLinkDefinition API
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/configuration.kt6
-rw-r--r--core/src/main/kotlin/defaultConfiguration.kt6
2 files changed, 6 insertions, 6 deletions
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt
index 0c877bd4..f0e77f09 100644
--- a/core/src/main/kotlin/configuration.kt
+++ b/core/src/main/kotlin/configuration.kt
@@ -109,9 +109,9 @@ interface DokkaConfiguration : Serializable {
}
interface SourceLinkDefinition : Serializable {
- val path: String
- val url: String
- val lineSuffix: String?
+ val localDirectory: String
+ val remoteUrl: String
+ val remoteLineSuffix: String?
}
interface DokkaModuleDescription : Serializable {
diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt
index ec461ffd..4f70cfbb 100644
--- a/core/src/main/kotlin/defaultConfiguration.kt
+++ b/core/src/main/kotlin/defaultConfiguration.kt
@@ -48,9 +48,9 @@ data class DokkaModuleDescriptionImpl(
) : DokkaConfiguration.DokkaModuleDescription
data class SourceLinkDefinitionImpl(
- override val path: String,
- override val url: String,
- override val lineSuffix: String?
+ override val localDirectory: String,
+ override val remoteUrl: String,
+ override val remoteLineSuffix: String?
) : DokkaConfiguration.SourceLinkDefinition {
companion object {
fun parseSourceLinkDefinition(srcLink: String): SourceLinkDefinitionImpl {