diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-02-27 10:50:48 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-02-27 10:51:51 +0100 |
commit | 16163f30353a6a17d3c038c5ec1f00c5b32f1f80 (patch) | |
tree | 1fd29ec9bb8ad96030ed98c7fa12c2357abaaabc /plugins/mathjax/src/main | |
parent | 1b8cc45335798d0b5921b897cf5eb641e55f316d (diff) | |
download | dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.gz dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.tar.bz2 dokka-16163f30353a6a17d3c038c5ec1f00c5b32f1f80.zip |
Small adjustments to the new model
Diffstat (limited to 'plugins/mathjax/src/main')
-rw-r--r-- | plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt | 4 |
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 |