Build plugin sdk KDocs as part of docs

This commit is contained in:
MM20 2024-02-07 21:45:13 +01:00
parent bbbdb80919
commit 64298754f8
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,10 @@ on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths: docs/**/*
paths:
- docs/**/*
- plugins/sdk/**/*
- core/shared/**/*
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -32,6 +35,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Gradle
uses: gradle/actions/setup-gradle@v3
- run: gradle dokkaHtmlMultiModule
working-directory: .
- run: mv build/dokka/htmlMultiModule docs/plublic/reference
working-directory: .
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:

View File

@ -5,7 +5,7 @@ plugins {
alias(libs.plugins.protobuf) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.dokka) apply false
alias(libs.plugins.dokka) apply true
}
apply(from = "docs/deps-graph.gradle")