aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning/src/main/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-03-01 12:01:23 +0100
committerGitHub <noreply@github.com>2021-03-01 12:01:23 +0100
commitce962389afe86c0d54a08df942e564a077b25c3f (patch)
treec1d9f5d5a2e35e5a97adfe66fcad50b54e087bba /plugins/versioning/src/main/kotlin
parent32fc2899cbe08e4e30326128e0f642ac4e08a342 (diff)
downloaddokka-ce962389afe86c0d54a08df942e564a077b25c3f.tar.gz
dokka-ce962389afe86c0d54a08df942e564a077b25c3f.tar.bz2
dokka-ce962389afe86c0d54a08df942e564a077b25c3f.zip
Create documentation for versioning (#1748)
* Create documentation for versioning * Create documentation for versioning
Diffstat (limited to 'plugins/versioning/src/main/kotlin')
-rw-r--r--plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt b/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt
index 98eef33d..e01f3419 100644
--- a/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt
+++ b/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt
@@ -9,7 +9,7 @@ data class VersioningConfiguration(
var versionsOrdering: List<String>? = defaultVersionsOrdering,
var version: String? = defaultVersion,
) : ConfigurableBlock {
- fun versionFromConfigurationOrModule(dokkaContext: DokkaContext): String =
+ internal fun versionFromConfigurationOrModule(dokkaContext: DokkaContext): String =
version ?: dokkaContext.configuration.moduleVersion ?: "1.0"
companion object {