diff options
-rw-r--r-- | core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt | 45 | ||||
-rw-r--r-- | core/src/main/kotlin/Formats/StandardFormats.kt | 2 | ||||
-rw-r--r-- | core/src/main/resources/dokka/format/java-layout-html.properties | 2 |
3 files changed, 48 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt b/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt new file mode 100644 index 00000000..c023c477 --- /dev/null +++ b/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt @@ -0,0 +1,45 @@ +package org.jetbrains.dokka.formats + +import org.jetbrains.dokka.* +import org.jetbrains.dokka.Formats.KotlinFormatDescriptorBase + + +class JavaLayoutHtmlFormatDescriptor : KotlinFormatDescriptorBase() { + override val formatServiceClass = JavaLayoutHtmlFormatService::class + override val generatorServiceClass = JavaLayoutHtmlFormatGenerator::class +} + + +class JavaLayoutHtmlFormatService : FormatService { + override val extension: String + get() = TODO("not implemented") + + + override fun createOutputBuilder(to: StringBuilder, location: Location): FormattedOutputBuilder { + TODO("not implemented") + } +} + +class JavaLayoutHtmlFormatOutputBuilder : FormattedOutputBuilder { + override fun appendNodes(nodes: Iterable<DocumentationNode>) { + TODO("not implemented") + } +} + +class JavaLayoutHtmlFormatGenerator : Generator { + override fun buildPages(nodes: Iterable<DocumentationNode>) { + TODO("not implemented") + } + + override fun buildOutlines(nodes: Iterable<DocumentationNode>) { + TODO("not implemented") + } + + override fun buildSupportFiles() { + TODO("not implemented") + } + + override fun buildPackageList(nodes: Iterable<DocumentationNode>) { + TODO("not implemented") + } +}
\ No newline at end of file diff --git a/core/src/main/kotlin/Formats/StandardFormats.kt b/core/src/main/kotlin/Formats/StandardFormats.kt index f3d638c6..c0c86f06 100644 --- a/core/src/main/kotlin/Formats/StandardFormats.kt +++ b/core/src/main/kotlin/Formats/StandardFormats.kt @@ -13,7 +13,7 @@ abstract class KotlinFormatDescriptorBase : FormatDescriptor { override val packageDocumentationBuilderClass = KotlinPackageDocumentationBuilder::class override val javaDocumentationBuilderClass = KotlinJavaDocumentationBuilder::class - override val generatorServiceClass = FileGenerator::class + override val generatorServiceClass: KClass<out Generator> = FileGenerator::class override val outlineServiceClass: KClass<out OutlineFormatService>? = null override val sampleProcessingService: KClass<out SampleProcessingService> = DefaultSampleProcessingService::class override val packageListServiceClass: KClass<out PackageListService>? = DefaultPackageListService::class diff --git a/core/src/main/resources/dokka/format/java-layout-html.properties b/core/src/main/resources/dokka/format/java-layout-html.properties new file mode 100644 index 00000000..c5c6bb15 --- /dev/null +++ b/core/src/main/resources/dokka/format/java-layout-html.properties @@ -0,0 +1,2 @@ +class=org.jetbrains.dokka.formats.JavaLayoutHtmlFormatDescriptor +description=Produces Kotlin Style Docs with Javadoc like layout
\ No newline at end of file |