Dokka multiproject example using Gradle#103
Dokka multiproject example using Gradle#103kamildoleglo wants to merge 2 commits intoKotlin:masterfrom
Conversation
| dokka { | ||
| externalDocumentationLink { | ||
| url = new URL("file://${project(":projectA").buildDir}/dokka/project-a/") | ||
| packageListUrl = new URL(url, "package-list") |
There was a problem hiding this comment.
Does this work when publishing this documentation online? Does this create relative URLs? 🤔
There was a problem hiding this comment.
Well actually that depends. Some links are created as relative, regardless of this config, but some are not. For example the "all types" page is created with absolute paths, but the links in specific class pages are created with relative paths. I think it'll change in future versions of Dokka.
As for the publishing - I think you can set the URL to your domain (http://example.com/...) and create package list URL with local path (file://projectname/...) and that should work.
I didn't test it, though
1533216 to
d7f388a
Compare
|
This fails for me when run locally. |
|
The |
No description provided.