From cc89f0b74a870303c854fcb892d469d4c8fb17a8 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 9 Jun 2020 16:31:58 +0200 Subject: Gives text presentation for `SinceKotlin` and hides it from rendering. Hides `Deprecated`. #944 --- plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mathjax/src/main/kotlin') 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 -- cgit