From 288431f21b18f5311de77c9afcb29346cb7c6498 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Fri, 13 Dec 2019 16:24:16 +0100 Subject: Changes naming and applies pull request's requirements --- .../kotlin/pages/CommentsToContentConverter.kt | 13 ++++ .../main/kotlin/pages/DocNodeToContentConverter.kt | 82 ---------------------- .../main/kotlin/pages/DocTagToContentConverter.kt | 79 +++++++++++++++++++++ .../kotlin/pages/MarkdownToContentConverter.kt | 15 ---- core/src/main/kotlin/pages/PageBuilder.kt | 14 ++-- core/src/main/kotlin/pages/PageContentBuilder.kt | 18 ++--- 6 files changed, 108 insertions(+), 113 deletions(-) create mode 100644 core/src/main/kotlin/pages/CommentsToContentConverter.kt delete mode 100644 core/src/main/kotlin/pages/DocNodeToContentConverter.kt create mode 100644 core/src/main/kotlin/pages/DocTagToContentConverter.kt delete mode 100644 core/src/main/kotlin/pages/MarkdownToContentConverter.kt (limited to 'core/src/main/kotlin/pages') diff --git a/core/src/main/kotlin/pages/CommentsToContentConverter.kt b/core/src/main/kotlin/pages/CommentsToContentConverter.kt new file mode 100644 index 00000000..78c7ff4c --- /dev/null +++ b/core/src/main/kotlin/pages/CommentsToContentConverter.kt @@ -0,0 +1,13 @@ +package org.jetbrains.dokka.pages + +import org.jetbrains.dokka.model.doc.DocTag + +interface CommentsToContentConverter { + fun buildContent( + docTag: DocTag, + dci: DCI, + platforms: Set, + styles: Set