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/325pedro
07/08/2020, 4:53 PMdokka {
// <https://github.com/Kotlin/dokka#using-dokka>
outputFormat = 'html'
outputDirectory = "${project.rootDir}/documentation"
subProjects = ["mvflow-core"]
configuration {
jdkVersion = 8
reportUndocumented = false
sourceLink {
// Unix based directory relative path to the root of the project (where you execute gradle respectively).
path = "./"
// URL showing where the source code can be accessed through the web browser
url = "<https://github.com/pedroql/mvflow/blob/master/>"
// Suffix which is used to append the line number to the URL. Use #L for GitHub
lineSuffix = "#L"
}
}
}
pedro
07/13/2020, 3:55 PM