diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-06-09 16:31:58 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-06-25 14:56:46 +0200 |
commit | cc89f0b74a870303c854fcb892d469d4c8fb17a8 (patch) | |
tree | d0affdb4ad029926fedae5d3e0af6fcf150bfde2 /plugins/mathjax/src/main/kotlin | |
parent | 1183e09a7123c8f9665248235c5e33ba28e92780 (diff) | |
download | dokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.tar.gz dokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.tar.bz2 dokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.zip |
Gives text presentation for `SinceKotlin` and hides it from rendering. Hides `Deprecated`. #944
Diffstat (limited to 'plugins/mathjax/src/main/kotlin')
-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 1d62fd17..9e6ed965 100644 --- a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt +++ b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka.mathjax import org.jetbrains.dokka.CoreExtensions -import org.jetbrains.dokka.model.doc.CustomWrapperTag +import org.jetbrains.dokka.model.doc.CustomTagWrapper import org.jetbrains.dokka.pages.ContentPage import org.jetbrains.dokka.pages.RootPageNode import org.jetbrains.dokka.plugability.DokkaPlugin @@ -28,5 +28,5 @@ object MathjaxTransformer : PageTransformer { get() = documentable?.documentation?.values ?.flatMap { it.children } .orEmpty() - .any { (it as? CustomWrapperTag)?.name == ANNOTATION } + .any { (it as? CustomTagWrapper)?.name == ANNOTATION } }
\ No newline at end of file |