diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-11-10 11:46:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-10 11:46:54 +0100 |
commit | 8e5c63d035ef44a269b8c43430f43f5c8eebfb63 (patch) | |
tree | 1b915207b2b9f61951ddbf0ff2e687efd053d555 /docs-developer | |
parent | a44efd4ba0c2e4ab921ff75e0f53fc9335aa79db (diff) | |
download | dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.gz dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.bz2 dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.zip |
Restructure the project to utilize included builds (#3174)
* Refactor and simplify artifact publishing
* Update Gradle to 8.4
* Refactor and simplify convention plugins and build scripts
Fixes #3132
---------
Co-authored-by: Adam <897017+aSemy@users.noreply.github.com>
Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
Diffstat (limited to 'docs-developer')
-rw-r--r-- | docs-developer/build.gradle.kts | 5 | ||||
-rw-r--r-- | docs-developer/src/doc/docs/developer_guide/architecture/extension_points/core_extension_points.md | 2 |
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. |