aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-04-16 14:13:29 +0200
committerKamil Doległo <kamilok1965@interia.pl>2020-04-16 14:15:13 +0200
commitc72b5dab616d4f1fc47fb11bc5c8f9baa01240c6 (patch)
tree3afa0924e3e1c6bd6a1c526b8ff2ab71acc4f611 /plugins/base/src/main/kotlin
parent72db3a16521408509f4a0f61ef110851a252d2cc (diff)
downloaddokka-c72b5dab616d4f1fc47fb11bc5c8f9baa01240c6.tar.gz
dokka-c72b5dab616d4f1fc47fb11bc5c8f9baa01240c6.tar.bz2
dokka-c72b5dab616d4f1fc47fb11bc5c8f9baa01240c6.zip
Change '<>' to '[]' in default package name as Windows prohibits filenames with '<>'
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
index c2f190c2..25e6f6ac 100644
--- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
+++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
@@ -73,7 +73,7 @@ private class DokkaDescriptorVisitor(
parent: DRIWithPlatformInfo
): DPackage {
val name = descriptor.fqName.asString().takeUnless { it.isBlank() } ?:
- "<" + platformData.targets.joinToString(",") + " root>"// TODO: error-prone, find a better way to do it
+ "[" + platformData.targets.joinToString(" ") + " root]"// TODO: error-prone, find a better way to do it
val driWithPlatform = DRI(packageName = name).withEmptyInfo()
val scope = descriptor.getMemberScope()