aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-03-31 15:56:31 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-31 16:02:09 +0200
commit30925c0b1ee9c7ca50dd2fc62890dd6ff9a28800 (patch)
treefadb3531db1a6b889e6e72d46d429fe1bb433120 /plugins/base/src
parentcb98d78d716a0d3e5e783baa147a8929d4c73ce4 (diff)
downloaddokka-30925c0b1ee9c7ca50dd2fc62890dd6ff9a28800.tar.gz
dokka-30925c0b1ee9c7ca50dd2fc62890dd6ff9a28800.tar.bz2
dokka-30925c0b1ee9c7ca50dd2fc62890dd6ff9a28800.zip
Make parameters no longer platform tagged
as they are part of platform hinted description
Diffstat (limited to 'plugins/base/src')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 2214cda6..613e5387 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -120,7 +120,7 @@ open class HtmlRenderer(
pageContext: ContentPage,
platformRestriction: PlatformData?
) {
- node.children.forEach {
+ node.children.filter { platformRestriction == null || platformRestriction in it.platforms }.forEach {
tr("platform-tagged") {
it.children.forEach {
td("content") {