mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(build): centralize Dokka documentation generation (#4171)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
7744a42e1c
commit
02f99bd7bb
4 changed files with 89 additions and 44 deletions
|
|
@ -254,26 +254,6 @@ dependencies {
|
|||
dokkaPlugin(libs.dokka.android.documentation.plugin)
|
||||
}
|
||||
|
||||
dokka {
|
||||
moduleName.set("Meshtastic App")
|
||||
dokkaSourceSets.register("main") {
|
||||
sourceLink {
|
||||
enableJdkDocumentationLink.set(true)
|
||||
enableKotlinStdLibDocumentationLink.set(true)
|
||||
enableJdkDocumentationLink.set(true)
|
||||
reportUndocumented.set(true)
|
||||
localDirectory.set(file("src/main/java"))
|
||||
remoteUrl("https://github.com/geeksville/Meshtastic-Android/app/src/main/java")
|
||||
remoteLineSuffix.set("#L")
|
||||
}
|
||||
}
|
||||
dokkaPublications.html { suppressInheritedMembers.set(true) }
|
||||
dokkaGeneratorIsolation = ProcessIsolation {
|
||||
// Configures heap size
|
||||
maxHeapSize = "6g"
|
||||
}
|
||||
}
|
||||
|
||||
aboutLibraries {
|
||||
export { excludeFields = listOf("generated") }
|
||||
library {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue