diff options
author | vmishenev <vad-mishenev@yandex.ru> | 2021-09-25 02:15:22 +0300 |
---|---|---|
committer | vmishenev <vad-mishenev@yandex.ru> | 2021-10-15 00:24:39 +0300 |
commit | b2663070490d6ad31a0e7ba7ae80d16dbde43aef (patch) | |
tree | cce72017295c1cffc97af090541131821550b681 /core/test-api | |
parent | 7e3f6b256585a8592e32ab9d8e01161f32e33aa6 (diff) | |
download | dokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.tar.gz dokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.tar.bz2 dokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.zip |
Fix adding new custom stylesheets in submodules (#2168)
Diffstat (limited to 'core/test-api')
-rw-r--r-- | core/test-api/api/test-api.api | 2 | ||||
-rw-r--r-- | core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/test-api/api/test-api.api b/core/test-api/api/test-api.api index ef0f69a5..b1f6a381 100644 --- a/core/test-api/api/test-api.api +++ b/core/test-api/api/test-api.api @@ -152,6 +152,7 @@ public final class testApi/testRunner/TestDokkaConfigurationBuilder { public fun <init> ()V public final fun build ()Lorg/jetbrains/dokka/DokkaConfigurationImpl; public final fun getCacheRoot ()Ljava/lang/String; + public final fun getDelayTemplateSubstitution ()Z public final fun getFailOnWarning ()Z public final fun getFormat ()Ljava/lang/String; public final fun getIncludes ()Ljava/util/List; @@ -165,6 +166,7 @@ public final class testApi/testRunner/TestDokkaConfigurationBuilder { public final fun getSuppressInheritedMembers ()Z public final fun getSuppressObviousFunctions ()Z public final fun setCacheRoot (Ljava/lang/String;)V + public final fun setDelayTemplateSubstitution (Z)V public final fun setFailOnWarning (Z)V public final fun setFormat (Ljava/lang/String;)V public final fun setIncludes (Ljava/util/List;)V diff --git a/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt b/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt index fc26ff98..33f45b02 100644 --- a/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt +++ b/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt @@ -37,6 +37,7 @@ class TestDokkaConfigurationBuilder { var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions var includes: List<File> = emptyList() var suppressInheritedMembers: Boolean = DokkaDefaults.suppressInheritedMembers + var delayTemplateSubstitution: Boolean = DokkaDefaults.delayTemplateSubstitution private val lazySourceSets = mutableListOf<Lazy<DokkaSourceSetImpl>>() fun build() = DokkaConfigurationImpl( @@ -53,6 +54,7 @@ class TestDokkaConfigurationBuilder { suppressObviousFunctions = suppressObviousFunctions, includes = includes.toSet(), suppressInheritedMembers = suppressInheritedMembers, + delayTemplateSubstitution = delayTemplateSubstitution ) fun sourceSets(block: SourceSetsBuilder.() -> Unit) { |