diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-03-01 12:01:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 12:01:23 +0100 |
commit | ce962389afe86c0d54a08df942e564a077b25c3f (patch) | |
tree | c1d9f5d5a2e35e5a97adfe66fcad50b54e087bba /plugins/versioning/src/main/kotlin | |
parent | 32fc2899cbe08e4e30326128e0f642ac4e08a342 (diff) | |
download | dokka-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.kt | 2 |
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 { |