aboutsummaryrefslogtreecommitdiff
path: root/plugins/gfm/api
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@users.noreply.github.com>2021-06-26 01:29:17 +0500
committerGitHub <noreply@github.com>2021-06-25 22:29:17 +0200
commit46b33710df5418fd3b668ea0753a8bd72f63c406 (patch)
tree4100d599be82488d78f6f27720bccec37e4ac397 /plugins/gfm/api
parentc2182b766a65619c859c0fc871a8a6334d66f199 (diff)
downloaddokka-46b33710df5418fd3b668ea0753a8bd72f63c406.tar.gz
dokka-46b33710df5418fd3b668ea0753a8bd72f63c406.tar.bz2
dokka-46b33710df5418fd3b668ea0753a8bd72f63c406.zip
Cleanup paragraphs and tables in GFM renderer (#1946)
* GFM renderer: cleanup paragraphs * GFM renderer: cleanup tables * GFM renderer: add tests for wrong header in table Table with extra cell in row is really generated by `all-modules-page` plugin * Remove commented-out lines * Add BriefCommentPreprocessor which inserts a line break between a signature and a brief comment Fixed a bug with `mapTransform` function which replaces table headers with their contents Co-authored-by: Kamil Doległo <kamil.doleglo@interia.pl>
Diffstat (limited to 'plugins/gfm/api')
-rw-r--r--plugins/gfm/api/gfm.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/gfm/api/gfm.api b/plugins/gfm/api/gfm.api
index bc43ba05..fc388825 100644
--- a/plugins/gfm/api/gfm.api
+++ b/plugins/gfm/api/gfm.api
@@ -11,6 +11,7 @@ public final class org/jetbrains/dokka/gfm/GfmCommand$Companion {
public final class org/jetbrains/dokka/gfm/GfmPlugin : org/jetbrains/dokka/plugability/DokkaPlugin {
public fun <init> ()V
+ public final fun getBriefCommentPreprocessor ()Lorg/jetbrains/dokka/plugability/Extension;
public final fun getGfmPreprocessors ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getLocationProvider ()Lorg/jetbrains/dokka/plugability/Extension;
public final fun getPackageListCreator ()Lorg/jetbrains/dokka/plugability/Extension;
@@ -33,6 +34,11 @@ public final class org/jetbrains/dokka/gfm/location/MarkdownLocationProvider$Fac
public fun getLocationProvider (Lorg/jetbrains/dokka/pages/RootPageNode;)Lorg/jetbrains/dokka/gfm/location/MarkdownLocationProvider;
}
+public final class org/jetbrains/dokka/gfm/renderer/BriefCommentPreprocessor : org/jetbrains/dokka/transformers/pages/PageTransformer {
+ public fun <init> ()V
+ public fun invoke (Lorg/jetbrains/dokka/pages/RootPageNode;)Lorg/jetbrains/dokka/pages/RootPageNode;
+}
+
public class org/jetbrains/dokka/gfm/renderer/CommonmarkRenderer : org/jetbrains/dokka/base/renderers/DefaultRenderer {
public fun <init> (Lorg/jetbrains/dokka/plugability/DokkaContext;)V
public synthetic fun buildDRILink (Ljava/lang/Object;Lorg/jetbrains/dokka/pages/ContentDRILink;Lorg/jetbrains/dokka/pages/ContentPage;Ljava/util/Set;)V