From b5620a30777cfe9fa3d5e35ce5b84da52f06d877 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 26 Oct 2025 14:04:52 +0000 Subject: [PATCH 1/3] :arrow_up: Bump org.jetbrains.dokka from 1.9.20 to 2.1.0 Bumps [org.jetbrains.dokka](https://github.com/Kotlin/dokka) from 1.9.20 to 2.1.0. - [Release notes](https://github.com/Kotlin/dokka/releases) - [Commits](https://github.com/Kotlin/dokka/compare/v1.9.20...v2.1.0) --- updated-dependencies: - dependency-name: org.jetbrains.dokka dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 709069c..227a73a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] kotlin = "2.2.21" agp = "8.13.0" -dokka = "1.9.20" +dokka = "2.1.0" nexusPublish = "2.0.0" kotest = "6.0.4" junit = "6.0.0" From 5426cb420181a60dd5b76063fedc7802db3c9f02 Mon Sep 17 00:00:00 2001 From: Klemen Tusar Date: Sun, 26 Oct 2025 19:23:10 +0000 Subject: [PATCH 2/3] :arrow_up: update Dokka tasks for improved documentation generation --- build.gradle.kts | 2 +- qs-kotlin/build.gradle.kts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8d1c4b0..d01f867 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,7 @@ subprojects { } } -tasks.register("docs") { dependsOn("dokkaHtmlMultiModule") } +tasks.register("docs") { dependsOn("dokkaGenerate") } nexusPublishing { repositories { diff --git a/qs-kotlin/build.gradle.kts b/qs-kotlin/build.gradle.kts index 4575d5e..5ca619f 100644 --- a/qs-kotlin/build.gradle.kts +++ b/qs-kotlin/build.gradle.kts @@ -83,13 +83,15 @@ val prepareDokkaReadme by } } -tasks.dokkaHtml { - dependsOn(prepareDokkaReadme) - dokkaSourceSets.configureEach { +dokka { + moduleName.set("qs-kotlin") + dokkaSourceSets.named("main") { includes.from(layout.buildDirectory.file("dokka-includes/Module.md")) } } +tasks.named("dokkaGeneratePublicationHtml") { dependsOn(prepareDokkaReadme) } + publishing { publications { create("mavenJava") { From 2b99c4ea39de4fb180b878f3648b324a50183af0 Mon Sep 17 00:00:00 2001 From: Klemen Tusar Date: Sun, 26 Oct 2025 19:23:20 +0000 Subject: [PATCH 3/3] :construction_worker: update Dokka command for HTML generation in CI workflow --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3a48273..42a6457 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Gradle caching uses: gradle/actions/setup-gradle@v5 - name: Build Dokka HTML (qs-kotlin) - run: ./gradlew :qs-kotlin:dokkaHtml --stacktrace + run: ./gradlew :qs-kotlin:dokkaGenerateHtml --stacktrace - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 with: