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 --- core/src/main/kotlin/pages/ContentNodes.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt index 293fe6c4..23baa482 100644 --- a/core/src/main/kotlin/pages/ContentNodes.kt +++ b/core/src/main/kotlin/pages/ContentNodes.kt @@ -383,7 +383,8 @@ enum class TokenStyle : Style { } enum class TextStyle : Style { - Bold, Italic, Strong, Strikethrough, Paragraph, Block, Span, Monospace, Indented, Cover, UnderCoverText, BreakableAfter, Breakable + Bold, Italic, Strong, Strikethrough, Paragraph, + Block, Span, Monospace, Indented, Cover, UnderCoverText, BreakableAfter, Breakable, InlineComment } enum class ContentStyle : Style { -- cgit