aboutsummaryrefslogtreecommitdiff
path: root/docs-developer
diff options
context:
space:
mode:
Diffstat (limited to 'docs-developer')
-rw-r--r--docs-developer/build.gradle.kts5
-rw-r--r--docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md2
2 files changed, 2 insertions, 5 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.
diff --git a/docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md b/docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md
index fc0088c9..2c454cdc 100644
--- a/docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md
+++ b/docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md
@@ -98,6 +98,6 @@ and `CommonmarkRenderer`.
`PostAction` can be used for when you want to run some actions after the documentation has been generated - for example,
if you want to move some files around or log some informational messages.
-Dokka's [Versioning plugin](https://github.com/Kotlin/dokka/tree/master/plugins/versioning) utilizes `PostAction`
+Dokka's [Versioning plugin](https://github.com/Kotlin/dokka/tree/master/dokka-subprojects/plugin-versioning) utilizes `PostAction`
to move generated documentation to the versioned directories.