aboutsummaryrefslogtreecommitdiff
path: root/runners/cli
diff options
context:
space:
mode:
Diffstat (limited to 'runners/cli')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt8
1 files changed, 6 insertions, 2 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 9a852b5a..70336b9e 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -58,8 +58,11 @@ class DokkaArguments {
@set:Argument(value = "links", description = "External documentation links in format url^packageListUrl^^url2...")
var links: String = ""
- @set: Argument(value = "noStdlibLink", description = "Disable documentation link to stdlib")
+ @set:Argument(value = "noStdlibLink", description = "Disable documentation link to stdlib")
var noStdlibLink: Boolean = false
+
+ @set:Argument(value = "cacheRoot", description = "Path to cache folder, or 'default' to use ~/.cache/dokka, if not provided caching is disabled")
+ var cacheRoot: String? = null
}
@@ -112,7 +115,8 @@ object MainKt {
perPackageOptions = parsePerPackageOptions(arguments.packageOptions),
jdkVersion = arguments.jdkVersion,
externalDocumentationLinks = parseLinks(arguments.links),
- noStdlibLink = arguments.noStdlibLink
+ noStdlibLink = arguments.noStdlibLink,
+ cacheRoot = arguments.cacheRoot
)
val generator = DokkaGenerator(