blob: 12b5d85d49dcb9baca4c8864230eb500f40217bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
package org.jetbrains.dokka.Formats
import org.jetbrains.dokka.*
class HtmlFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = HtmlFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>
get() = HtmlFormatService::class.java
override val generatorServiceClass: Class<out Generator>
get() = FileGenerator::class.java
override val packageDocumentationBuilderServiceClass: Class<out PackageDocumentationBuilder>?
get() = null
}
class KotlinWebsiteFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = KotlinWebsiteFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>
get() = YamlOutlineService::class.java
override val generatorServiceClass: Class<out Generator>
get() = FileGenerator::class.java
override val packageDocumentationBuilderServiceClass: Class<out PackageDocumentationBuilder>?
get() = null
}
class JekyllFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = JekyllFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
get() = FileGenerator::class.java
override val packageDocumentationBuilderServiceClass: Class<out PackageDocumentationBuilder>?
get() = null
}
class MarkdownFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = MarkdownFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
get() = FileGenerator::class.java
override val packageDocumentationBuilderServiceClass: Class<out PackageDocumentationBuilder>?
get() = null
}
|