aboutsummaryrefslogtreecommitdiff
path: root/plugins/xml
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-01-23 11:10:37 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-10 12:16:32 +0100
commit612e8c2f6f1b52f19c6ae51aa3d5655dfb43ba0c (patch)
treeb801dba1dd61c17d0d67b91c5f093151955d0e2b /plugins/xml
parentf7c67c2ade8b56c6556ec59d9c0adf8643a8e566 (diff)
downloaddokka-612e8c2f6f1b52f19c6ae51aa3d5655dfb43ba0c.tar.gz
dokka-612e8c2f6f1b52f19c6ae51aa3d5655dfb43ba0c.tar.bz2
dokka-612e8c2f6f1b52f19c6ae51aa3d5655dfb43ba0c.zip
formatting
Diffstat (limited to 'plugins/xml')
-rw-r--r--plugins/xml/src/main/kotlin/XmlPlugin.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xml/src/main/kotlin/XmlPlugin.kt b/plugins/xml/src/main/kotlin/XmlPlugin.kt
index 998a56ea..e19b76b3 100644
--- a/plugins/xml/src/main/kotlin/XmlPlugin.kt
+++ b/plugins/xml/src/main/kotlin/XmlPlugin.kt
@@ -27,7 +27,7 @@ class XmlTransformer(private val dokkaContext: DokkaContext) : PageNodeTransform
input.transformPageNodeTree { if (it is ModulePageNode) transformModule(it) else it }
private fun transformModule(module: ModulePageNode) = module.transformContentPagesTree { node ->
- if (node !is ClassPageNode) node
+ if (node !is ClasslikePageNode) node
else {
val refs =
node.documentable?.extra?.filterIsInstance<XMLMega>()?.filter { it.key == "@attr ref" }