diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-08-04 12:43:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 12:43:38 +0200 |
commit | 01cc092fed1b4de81b6b39c147e162575b86dfd0 (patch) | |
tree | 5c77eb2b7afdb03b906464ea59d6248302892cad /plugins/base/src/main/kotlin/renderers | |
parent | 8356b56cbc2b76f10753e4758dbc32cba5bddf71 (diff) | |
download | dokka-01cc092fed1b4de81b6b39c147e162575b86dfd0.tar.gz dokka-01cc092fed1b4de81b6b39c147e162575b86dfd0.tar.bz2 dokka-01cc092fed1b4de81b6b39c147e162575b86dfd0.zip |
Style section and platform tabs like on kotlinlang.org (#2589)
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 5bfe5f64..5d2007d6 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -218,13 +218,6 @@ open class HtmlRenderer( attributes["data-filterable-set"] = pair.first.sourceSetIDs.merged.toString() if (index == 0) attributes["data-active"] = "" attributes["data-toggle"] = pair.first.sourceSetIDs.merged.toString() - when (pair.first.platform.key) { - "common" -> classes = classes + "common-like" - "native" -> classes = classes + "native-like" - "jvm" -> classes = classes + "jvm-like" - "js" -> classes = classes + "js-like" - } - attributes["data-toggle"] = pair.first.sourceSetIDs.merged.toString() text(pair.first.name) } } |