diff options
Diffstat (limited to 'docs-developer/build.gradle.kts')
-rw-r--r-- | docs-developer/build.gradle.kts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs-developer/build.gradle.kts b/docs-developer/build.gradle.kts index 1d3bd687..d611a097 100644 --- a/docs-developer/build.gradle.kts +++ b/docs-developer/build.gradle.kts @@ -2,14 +2,11 @@ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ -import org.jetbrains.dokkaVersionType -import org.jetbrains.DokkaVersionType - plugins { id("ru.vyarus.mkdocs") version "2.4.0" } -if (dokkaVersionType != DokkaVersionType.RELEASE) { +if (!project.version.toString().endsWith("-SNAPSHOT")) { // Do not generate the root index.html file with the redirect // to a non-release version, otherwise GitHub pages based documentation // will always lead to the non-stable documentation. |