aboutsummaryrefslogtreecommitdiff
path: root/plugins/mathjax/src/main/kotlin
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-02-27 10:50:48 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-27 10:51:51 +0100
commit16163f30353a6a17d3c038c5ec1f00c5b32f1f80 (patch)
tree1fd29ec9bb8ad96030ed98c7fa12c2357abaaabc /plugins/mathjax/src/main/kotlin
parent1b8cc45335798d0b5921b897cf5eb641e55f316d (diff)
downloaddokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.gz
dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.bz2
dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.zip
Small adjustments to the new model
Diffstat (limited to 'plugins/mathjax/src/main/kotlin')
-rw-r--r--plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
index cded0929..1d62fd17 100644
--- a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
+++ b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
@@ -25,8 +25,8 @@ object MathjaxTransformer : PageTransformer {
}
private val ContentPage.isNeedingMathjax
- get() = documentable?.platformInfo
- ?.flatMap { it.documentationNode.children }
+ get() = documentable?.documentation?.values
+ ?.flatMap { it.children }
.orEmpty()
.any { (it as? CustomWrapperTag)?.name == ANNOTATION }
} \ No newline at end of file