diff --git a/.gitignore b/.gitignore index cd4c4adf..36bd24a3 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ .cxx local.properties SecretRingKey.gpg + +# Dokka-generated reference documentation +reference-docs/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 59724c19..831a8ef7 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,14 @@ subprojects { if (name != "forage-android") return apply plugin: 'org.jetbrains.dokka' + + tasks.named("dokkaHtml", org.jetbrains.dokka.gradle.DokkaTask.class) { + outputDirectory.set(file("${rootDir}/reference-docs")) + pluginsMapConfiguration.set( + ["org.jetbrains.dokka.base.DokkaBase": """{ "separateInheritedMembers": true}"""] + ) // set separateInheritedMembers = true? + + } } spotless {