blob: 1d5ffe13feb3e4bc7c449719e5c8d8dcf6a9c9bb (
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
|
package org.jetbrains.dokka.Formats
import org.jetbrains.dokka.*
class HtmlFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = javaClass<HtmlFormatService>()
override val outlineServiceClass: Class<out OutlineFormatService>
get() = javaClass<HtmlFormatService>()
override val generatorServiceClass: Class<out Generator>
get() = javaClass<FileGenerator>()
}
class KotlinWebsiteFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = javaClass<KotlinWebsiteFormatService>()
override val outlineServiceClass: Class<out OutlineFormatService>
get() = javaClass<YamlOutlineService>()
override val generatorServiceClass: Class<out Generator>
get() = javaClass<FileGenerator>()
}
class JekyllFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = javaClass<JekyllFormatService>()
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
get() = javaClass<FileGenerator>()
}
class MarkdownFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
get() = javaClass<MarkdownFormatService>()
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
get() = javaClass<FileGenerator>()
}
|