From 13b87181219f5a96e499c6bda230f6bcd2ed3bc0 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 17 Feb 2022 14:51:14 +0300 Subject: Custom doctag extension (#2343) * Add an extension point for rendering custom doc tags * Iterate over documentable sourcesets when building custom tags * Extract a nested custom tags brief block into a separate method * Filter out tag content providers and make since kotlin brief a one-liner * Add padding to "Since Kotlin" block in brief description --- plugins/base/src/main/resources/dokka/styles/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/main/resources') diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index cc8b6823..94200bd1 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -890,7 +890,13 @@ td.content { display: block; } -.table-row .with-platform-tabs .sourceset-depenent-content .brief { +.table-row .inline-comment { + padding-top: 8px; + padding-bottom: 8px; +} + +.table-row .with-platform-tabs .sourceset-depenent-content .brief, +.table-row .with-platform-tabs .sourceset-depenent-content .inline-comment { padding: 8px; } -- cgit