aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-06-09 19:59:09 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-07-14 23:57:13 +0300
commit069caa29d344ace3237552e1d30b62cee7794bae (patch)
tree4f8bd94a0b1c73c80c2d6328418a7690b65c2b13 /runners
parentd228c23bf72e196476ac0b49871d54116e371110 (diff)
downloaddokka-069caa29d344ace3237552e1d30b62cee7794bae.tar.gz
dokka-069caa29d344ace3237552e1d30b62cee7794bae.tar.bz2
dokka-069caa29d344ace3237552e1d30b62cee7794bae.zip
[backport] Support noJdkLink in cli
Original: 9e11559
Diffstat (limited to 'runners')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 111e1420..f871f406 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -53,6 +53,9 @@ class DokkaArguments {
@set:Argument(value = "noStdlibLink", description = "Disable documentation link to stdlib")
var noStdlibLink: Boolean = false
+ @set:Argument(value = "noJdkLink", description = "Disable documentation link to jdk")
+ var noJdkLink: 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
@@ -121,7 +124,8 @@ object MainKt {
cacheRoot = arguments.cacheRoot,
languageVersion = arguments.languageVersion,
apiVersion = arguments.apiVersion,
- collectInheritedExtensionsFromLibraries = arguments.collectInheritedExtensionsFromLibraries
+ collectInheritedExtensionsFromLibraries = arguments.collectInheritedExtensionsFromLibraries,
+ noJdkLink = arguments.noJdkLink
)
val generator = DokkaGenerator(