Skip to content

Commit

Permalink
fix docs root path
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Aug 29, 2023
1 parent d69bbad commit 62ea4e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 27 deletions.
24 changes: 0 additions & 24 deletions .github/docs-gradle.properties

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/docs-gradle.properties ~/.gradle/gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: set up JDK
uses: actions/setup-java@v3
Expand All @@ -44,10 +44,10 @@ jobs:
run: cp ./README.md ./docs/README.md

- name: Generate docs
run: ./gradlew dokkaHtmlMultiModule --no-configuration-cache
run: ./gradlew dokkaHtmlMultiModule --no-configuration-cache -Pkotlin.mpp.enableCInteropCommonization=false

- name: Move docs to the parent docs dir
run: cp -r ./build/dokka ./docs/javadocs/
run: cp -r ./build/dokka/htmlMultiModule/ ./docs/javadocs/

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Expand Up @@ -34,6 +34,7 @@ allprojects {
}

subprojects {
if (name == "app") return@subprojects
apply(plugin = rootProject.libs.plugins.dokka.id)

dependencies {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Expand Up @@ -20,3 +20,4 @@ kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
kotlin.native.ignoreIncorrectDependencies=true
# TODO: Set to true after https://github.com/Kotlin/kotlinx-atomicfu/issues/250
kotlinx.atomicfu.enableJvmIrTransformation=false
systemProp.org.gradle.unsafe.kotlin.assignment=true

0 comments on commit 62ea4e5

Please sign in to comment.