diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-08-04 18:59:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 18:59:28 +0200 |
commit | f7bd2ce1a5ef194643b078bd11a90fdf9b389c2b (patch) | |
tree | 2f26d61ed1f90f5a2c3405b70c651607f97506d7 /docs-developer/build.gradle.kts | |
parent | b559131ddda8efea3394a0ea641460c4189769db (diff) | |
download | dokka-f7bd2ce1a5ef194643b078bd11a90fdf9b389c2b.tar.gz dokka-f7bd2ce1a5ef194643b078bd11a90fdf9b389c2b.tar.bz2 dokka-f7bd2ce1a5ef194643b078bd11a90fdf9b389c2b.zip |
Update Developer Guides (#3088)
Diffstat (limited to 'docs-developer/build.gradle.kts')
-rw-r--r-- | docs-developer/build.gradle.kts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs-developer/build.gradle.kts b/docs-developer/build.gradle.kts new file mode 100644 index 00000000..e920c6f8 --- /dev/null +++ b/docs-developer/build.gradle.kts @@ -0,0 +1,15 @@ +import org.jetbrains.dokkaVersionType +import org.jetbrains.DokkaVersionType + +plugins { + id("ru.vyarus.mkdocs") version "2.4.0" +} + +if (dokkaVersionType != DokkaVersionType.RELEASE) { + // 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. + // For more details, see https://github.com/Kotlin/dokka/issues/2869. + // For configuration details, see https://xvik.github.io/gradle-mkdocs-plugin/3.0.0/examples/#simple-multi-version. + mkdocs.publish.rootRedirect = false +} |