aboutsummaryrefslogtreecommitdiff
path: root/plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-02-05 15:52:05 +0100
committerGitHub <noreply@github.com>2021-02-05 15:52:05 +0100
commita78e47a8d3d0dae7b68b0e414967e20ffb6e9a18 (patch)
tree12bb2bd7659e7ad3ab6fc8cc62acb0a21524d00c /plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt
parent70000c87a37caa2a6b518a555f53c98514434403 (diff)
downloaddokka-a78e47a8d3d0dae7b68b0e414967e20ffb6e9a18.tar.gz
dokka-a78e47a8d3d0dae7b68b0e414967e20ffb6e9a18.tar.bz2
dokka-a78e47a8d3d0dae7b68b0e414967e20ffb6e9a18.zip
Deduplicate resources in multimodule (#1711)
Diffstat (limited to 'plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt')
-rw-r--r--plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt b/plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt
index 5a97d216..dec37799 100644
--- a/plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt
+++ b/plugins/templating/src/main/kotlin/templates/JsonElementBasedTemplateProcessingStrategy.kt
@@ -39,10 +39,6 @@ abstract class BaseJsonNavigationTemplateProcessingStrategy(val context: DokkaCo
})
output.resolve(path).mkdirs()
output.resolve("$path/$navigationFileNameWithoutExtension.json").writeText(content)
-
- fragments.keys.forEach {
- output.resolve(it).resolve("$path/$navigationFileNameWithoutExtension.json").writeText(content)
- }
}
}