diff options
Diffstat (limited to 'plugins/javadoc/src')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt | 2 | ||||
-rw-r--r-- | plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/packagelist/JavadocPackageListTest.kt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt index 48d6120f..e86816a3 100644 --- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt +++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt @@ -63,7 +63,7 @@ class JavadocPlugin : DokkaPlugin() { PackageListCreator( context = it, format = RecognizedLinkFormat.DokkaJavadoc, - fileName = "element-list" + outputFilesNames = listOf("package-list", "element-list") ) } order { after(rootCreator) } } diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/packagelist/JavadocPackageListTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/packagelist/JavadocPackageListTest.kt index b3b21909..431f4464 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/packagelist/JavadocPackageListTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/packagelist/JavadocPackageListTest.kt @@ -33,6 +33,7 @@ internal class JavadocPackageListTest : AbstractJavadocTemplateMapTest() { package1 """.trimIndent() assertEquals(expected, contents["/element-list"]?.trimIndent()) + assertEquals(expected, contents["/package-list"]?.trimIndent()) } } @@ -69,6 +70,7 @@ internal class JavadocPackageListTest : AbstractJavadocTemplateMapTest() { package1.package1Inner.package1InnerInner """.trimIndent() assertEquals(expected, contents["/element-list"]?.trimIndent()) + assertEquals(expected, contents["/package-list"]?.trimIndent()) } } }
\ No newline at end of file |