diff options
| author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-28 11:28:54 +0200 |
|---|---|---|
| committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-31 15:10:04 +0200 |
| commit | 02ccae10e3f717c330dae5d87b49a0e72f798905 (patch) | |
| tree | 4c63d6039fdc5a20c065724e672adbc5c6a3a0e5 /integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB | |
| parent | 8cd28416817dfd7d28bb66b28e849d97cc09012b (diff) | |
| download | dokka-02ccae10e3f717c330dae5d87b49a0e72f798905.tar.gz dokka-02ccae10e3f717c330dae5d87b49a0e72f798905.tar.bz2 dokka-02ccae10e3f717c330dae5d87b49a0e72f798905.zip | |
Re-use includes form child tasks for all modules page generation
Diffstat (limited to 'integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB')
3 files changed, 15 insertions, 2 deletions
diff --git a/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/Module.md b/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/Module.md new file mode 100644 index 00000000..0570f467 --- /dev/null +++ b/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/Module.md @@ -0,0 +1,6 @@ +# Module !Module B! +Here is some description for Module B + +Module B: Second paragraph +# Module moduleB +§IGNORED$This documentation shall be ignored, because wrong module name§IGNORED$ diff --git a/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/README.md b/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/README.md deleted file mode 100644 index f8c52880..00000000 --- a/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Module moduleB -Here is some description for module B diff --git a/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/build.gradle.kts b/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/build.gradle.kts index 9492fdc8..5f0b69c7 100644 --- a/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/build.gradle.kts +++ b/integration-tests/gradle/projects/it-multimodule-0/moduleA/moduleB/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.dokka.gradle.DokkaTask + plugins { kotlin("jvm") id("org.jetbrains.dokka") @@ -6,3 +8,10 @@ plugins { dependencies { implementation(kotlin("stdlib")) } + +tasks.withType<DokkaTask>().configureEach { + moduleName.set("!Module B!") + dokkaSourceSets.configureEach { + includes.from("Module.md") + } +} |
