addamsson
02/07/2020, 6:54 PMval global by creating {
// this is a special block for passing perPackageOptions,
// externalDocumentationLinks and sourceLinks to all other platforms
perPackageOption {
// suppress a package on all platforms
prefix = "shouldbesuppressed"
suppress = true
}
}
How do I add external documentation links and source links to other platforms?Sylvain Patenaude
02/07/2020, 7:33 PMmbonnin
02/10/2020, 10:00 AMsun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
, it seems to be a SSL error. Anyone knows how to fix this ?addamsson
02/10/2020, 1:36 PMtasks {
withType<DokkaTask> {
outputFormat = "html"
outputDirectory = "docs"
subProjects = rootProject.childProjects.map { it.key }
multiplatform {
rootProject.childProjects.forEach { (name, project) ->
register(name) {
targets = listOf("JVM", "JS")
listOf("commonMain", "jvmMain", "jsMain").forEach { dir ->
val sourceDir = "${projectDir}/$name/src/$dir/kotlin"
if (File(sourceDir).exists()) {
sourceRoot {
path = "${projectDir}/$name/src/$dir/kotlin"
}
}
}
}
}
}
}
}
What am I doing wrong? I'm trying to register each module and their corresponding sources, but it is not working.
The docs are generated but it is not grouped by subprojects and I also get hundreds of errors stating that Found an unresolved type
and other errors stating that Cannot extract sources from subProjects. Do you have the Kotlin plugin in version 1.3.30+ and the Kotlin plugin applied in the root project?
and Could not find target with name: myproject
. How am I supposed to use Dokka for my setup?Sylvain Patenaude
02/10/2020, 4:54 PMSrSouza
02/14/2020, 5:27 PMSylvain Patenaude
03/09/2020, 8:52 PMplugins {
...
id 'org.jetbrains.dokka' version '0.10.1'
...
}
enough?mikehearn
03/16/2020, 2:51 PMmikehearn
03/16/2020, 2:52 PMcypher121
03/17/2020, 3:48 PM> Task :genJavadoc
WARN: Failed to initialize native filesystem for Windows
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
the file is, in fact, present, although I have no clue why it's even trying to get therePabloCasia
04/15/2020, 8:11 AMbjonnh
04/19/2020, 4:43 PMZach Klippenstein (he/him) [MOD]
05/05/2020, 8:07 PMdokka
task created by the plugin requires jars to be assembled, however it does not actually seem to configure the gradle dependency graph correctly because if I run dokka
after a clean
I get errors about jars not being found for depended-on modules. I’m using dokka 0.10.0 with gradle 6.3 on a multi-module project. Is it expected to have to configure these dependencies manually?Ola Adolfsson
05/07/2020, 1:22 PMevanchooly
05/11/2020, 4:57 PMRob Zienert
05/28/2020, 5:27 PMsimon.vergauwen
05/28/2020, 5:43 PMPaweł Marks
05/29/2020, 10:27 AMEllen Spertus
06/02/2020, 7:42 PMbuild.gradle
file:
implementation 'org.jetbrains.dokka:dokka-base:0.11.0-dev-45'
but don’t know what else to add to get a dokka task.Zach Klippenstein (he/him) [MOD]
06/05/2020, 4:54 PMbsimmons
06/17/2020, 12:48 PMZach Klippenstein (he/him) [MOD]
06/18/2020, 2:17 AMAfzal Najam
06/19/2020, 4:19 AMAn exception occurred applying plugin request [id: 'com.android.library']
> Failed to apply plugin [id 'com.android.internal.version-check']
> Could not create plugin of type 'VersionCheckPlugin'.
> Could not initialize class com.android.build.gradle.internal.plugins.VersionCheckPlugin
any idea why this might be? I had two modules (app and lib, but I've removed the app module since). Would really appreciate it because I would like to figure out a way to do ((or contribute) an output format that does Markdown with Java signatures using Dokka 🙂.
ThanksHalil Ozercan
07/01/2020, 8:02 AMREADME.md
files scattered around the project, mainly serving as package summaries. I want to include these markdown files, not necessarily named README
, under package pages in Dokka. It should feel like browsing the project on Github. Is this at all possible or is there any other way that you would suggest?pedro
07/08/2020, 4:52 PMindex-outline.html
contains absolute links which means I can’t share this file (put it on github). It is the only file generated by dokka with absolute urls to my machine (/users/me/project/path/docfolder/module/index
).
Is this working as intended? (Hopefully not, or there’s a config I missed)
I found this PR which could be related: https://github.com/Kotlin/dokka/pull/325bjonnh
07/08/2020, 6:20 PMid("org.jetbrains.dokka") version "1.4.0-M3-dev-54"
from https://dl.bintray.com/kotlin/kotlin-dev
But I keep having an error from gradle: Could not find org.jetbrains.dokka:gradle-plugin:1.4.0-M3-dev-54Sebastian Sellmair [JB]
07/13/2020, 1:37 PMjaguililla
07/14/2020, 8:22 PMSebastian Sellmair [JB]
07/20/2020, 7:52 AMmsink
07/27/2020, 10:24 AM./gradlew -PpublishMode dokkaGfm
)msink
07/27/2020, 10:24 AM./gradlew -PpublishMode dokkaGfm
)Sebastian Sellmair [JB]
07/27/2020, 11:57 AMBig Chungus
07/29/2020, 2:56 PMMarcin Aman
07/29/2020, 4:16 PMBig Chungus
07/29/2020, 4:17 PMMarcin Aman
07/29/2020, 4:18 PMBig Chungus
07/29/2020, 4:18 PMMarcin Aman
07/29/2020, 4:20 PMmsink
07/31/2020, 7:25 AMSebastian Sellmair [JB]
07/31/2020, 8:07 AMmsink
07/31/2020, 3:12 PMhow this staging folder works inside your project? 🤔Well, it was used to mimic support of K/N when Dokka totally lacked that support, two years ago. By brute force and black magic 🙂. See dokka.gradle. Now it will be removed, of course.
Sebastian Sellmair [JB]
07/31/2020, 3:21 PM