Harald Pehl
03/16/2021, 8:23 AM1.4.30
, I run into https://github.com/Kotlin/dokka/issues/1779Eugene
03/16/2021, 1:15 PMAJ Alt
03/16/2021, 5:17 PMsuppressObviousFunctions
feature in gradle? I don't see that flag mentioned in the docs anywhere, and it's not a property on the dokka task, the source set builder, or the plugin base configuration.Bryan Herbst
03/16/2021, 8:04 PMdokkaGfm
task:
FAILURE: Build failed with an exception.
* What went wrong:
Received complete event for an unknown operation (id: 359761)
I’m not seeing much general guidance for this failure online- any tips on where to start looking?Bryan Herbst
03/17/2021, 1:30 PM:foo:bar
would have its docs output to /docs/foo/bar
Overall this is still working, but 1.4.30 is now generating an extra index.md
in /docs/foo
. It is actually copying the index.md from the last module it generates docs for, so e.g. /docs/foo/index.md
is identical to /docs/foo/bar/index.md
Shipsywor
03/18/2021, 3:18 PMJavier
03/19/2021, 11:59 PMNo source set found for :example:dokkaJavadoc/androidMain
Cheolho Jeon
03/23/2021, 7:16 AMonly .kt files
?
I'm trying to do this because we are currently trying to migrate to Kotlin from Java (android) and found that Javadoc HTML created by Dokka does not have 1. @since
information (reported at Github) 2. and failed to find a way to insert headers, footers, etc. to Dokka configs (like mentioned here).
Hence if we built all our sources (java
+ kt
) using Dokka we will be losing some information we currently have. So instead we are considering building only .kt
files using Dokka to minimize loss of information and wait for feature updates for the above. Is there a way to build only .kt
files or exclude .java
files from being built by Dokka? Thank you.Zach Klippenstein (he/him) [MOD]
03/23/2021, 11:40 PMdokkaHtml
tasks take a fairly long time, which is really noticeable when doing builds that don’t actually change any source code, and caching would help a lot.elect
03/24/2021, 9:34 PMtasks {
dokkaHtmlMultiModule.configure {
outputDirectory.set(buildDir.resolve("dokkaCustomMultiModuleOutput"))
}
}
but it doesnt, dir doesnt exist
what am I missing?
Edit: I simply had to manually execute it.. it's not automatic as the usual per-module dokka documentationEugene
03/25/2021, 9:31 AMLukas K-G
03/26/2021, 6:21 AMbsimmons
03/26/2021, 1:02 PMUnresolved reference: dokkaHtmlMultiModule
error. Any ideas?louiscad
04/04/2021, 6:55 PMBig Chungus
04/07/2021, 1:41 PMStacy
04/07/2021, 3:52 PMtasks.withType<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>().configureEach {
outputDirectory.set(File(project.projectDir, "dokka"))
}
hultgren
04/09/2021, 3:50 PMincludes
or similar on DokkaMultiModuleTask
Colin White
04/13/2021, 9:50 PMdokkaHtmlMultimodule
, however that task doesn’t exist. Also the most recent release notes mention I should use dokkaHtmlPartial
, however that doesn’t work as then my navigation.html
only contains the classes from one module. Am I missing something?Ellen Spertus
04/14/2021, 10:19 PMgetFoo()
. The examples on https://kotlinlang.org/docs/kotlin-doc.html#kdoc-syntax put periods at the end of descriptions:
/**
* A group of *members*.
*
* This class has no useful logic; it's just a documentation example.
*
* @param T the type of a member in this group.
* @property name the name of this group.
* @constructor Creates an empty group.
*/
I'm teaching a capstone programming project course (in Kotlin, for the first time). Should I tell my students to follow the Javadoc rules or to emulate the example above?Ellen Spertus
04/16/2021, 7:43 PMbuild.gradle
files as described here: https://medium.com/@julesrosser/auto-generate-kotlin-android-documentation-with-dokka-382248c03283
Here's what happens:
$ ./gradlew dokka
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
I suspect it has to do with a mismatched Java version:
$ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
Any advice?Zac Sweers
04/22/2021, 4:38 PMCould not GET ‘maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom’. Received status code 503 from server: Service Temporarily UnavailableWhat’s preventing Jetbrains from just uploading that kotlinx-html artifact to central at this point that dokka users must add an unknown external repository?
José González Gómez
04/28/2021, 9:34 AMdata class
for which I have documented properties using `@property`:
/**
* Class description blah, blah, blah.
*
* @property property Something. Another something. And blah, blah, blah.
*
* @constructor Creates a new instance, blah, blah.
*/
data class MyClass(val property: String)
The problem I have is that when I browse the class' properties I only get the first Something.
in the description of the property (up to the first period), and then if I click on the property I get to a new page listing the property with no description at all, not even the first Something.
. Am I doing anything wrong? Are periods forbidden in the description of a property?Brian Nicholson
04/28/2021, 8:10 PMbuild.gradle.kts
specifically for Dokka with a sourceSet
containing just the subdirectory I'm interested in, and it generates documentation, but the problem is that any dependency outside of my sourceSet
is shown as <ERROR CLASS>
. Obviously, Dokka can't generate docs for these classes since it can't resolve them, but is there there any way to get these class names to appear as text rather than an error? Ideally, I'd be able to link these classes to a URL containing their source code, but even just getting the raw text name would be a huge improvement. Any suggestions?Aaron Todd
04/29/2021, 3:56 PMcustomStyleSheets
to be applied to all child projects/docs in a multimodule setup? It works for the "root" index.html
but all subsequent pages are missing the custom style sheetAaron Todd
04/29/2021, 5:17 PMAaron Todd
04/30/2021, 1:46 PMLeft Nav |
-----------------------------------------------
module-1 v | // normal docs generated from sources
pkg1 |
pkg2 |
module-2 v |
pkg3 |
pkg4 |
...
custom v | // based on markdown file(s)
subpage1 |
subpage2 |
bonus points if we could link to these pages from API content
To clarify, I'm mostly wondering how to do this as a custom plugin, I wouldn't expect this to be supported as a general feature maintained by dokka developers (unless you think it's useful)Bryan Herbst
05/06/2021, 7:31 PMdokkaGfmMultiModule
working well for me for the most part, only complaint is that right now I’m getting an extraneous module directory for each module, so if I have a moduleA
, I get:
- docsRoot
- moduleA
- moduleA
- package-list
- [etc]
- index.md
Is that intended?Zach Klippenstein (he/him) [MOD]
05/10/2021, 10:36 PMZach Klippenstein (he/him) [MOD]
05/10/2021, 11:33 PMPaul Woitaschek
05/12/2021, 12:01 PMcom.yazio.shared.fasting
Paul Woitaschek
05/12/2021, 12:01 PMcom.yazio.shared.fasting
Marcin Aman
05/12/2021, 12:06 PMNavigationPageInstaller
Paul Woitaschek
05/12/2021, 12:07 PMREADME.md
and I include that using the includes() block. But we also have a library wide readme that gives a general overviewMarcin Aman
05/12/2021, 12:08 PMPaul Woitaschek
05/12/2021, 12:10 PM