diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-08-20 16:58:23 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-21 16:40:57 +0200 |
commit | 705cbd313838db9f0c64d8f2bc7947ccbb40ed19 (patch) | |
tree | 5930bddf15096c03629e10413632ba0dfa779197 /plugins/javadoc/src | |
parent | 39b64feead5718ae9d3e4293407cf0858057493a (diff) | |
download | dokka-705cbd313838db9f0c64d8f2bc7947ccbb40ed19.tar.gz dokka-705cbd313838db9f0c64d8f2bc7947ccbb40ed19.tar.bz2 dokka-705cbd313838db9f0c64d8f2bc7947ccbb40ed19.zip |
Generate output to package-list and element-list
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 |