aboutsummaryrefslogtreecommitdiff
path: root/plugins/mathjax
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2019-11-26 14:39:06 +0100
committerBłażej Kardyś <bkardys@virtuslab.com>2019-11-26 14:39:06 +0100
commit4b1a3a2cbe62f98c9f1b472e70d754645d7f8641 (patch)
treeb66dc9a69905f972c84cdca75bc2f21a02f244a4 /plugins/mathjax
parent193b8c0bcebdcdfd749090a408149cac06203614 (diff)
downloaddokka-4b1a3a2cbe62f98c9f1b472e70d754645d7f8641.tar.gz
dokka-4b1a3a2cbe62f98c9f1b472e70d754645d7f8641.tar.bz2
dokka-4b1a3a2cbe62f98c9f1b472e70d754645d7f8641.zip
Merging PageNode changes with plugins
Diffstat (limited to 'plugins/mathjax')
-rw-r--r--plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
index 63512966..0decfb1c 100644
--- a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
+++ b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
@@ -28,7 +28,7 @@ object MathjaxTransformer : PageNodeTransformer {
private val PageNode.isNeedingMathjax
- get() = documentationNode?.descriptors
+ get() = documentationNode?.platformInfo
?.flatMap { it.docTag?.children?.toList().orEmpty() }
.orEmpty()
.any { it.text == ANNOTATION }