mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Simplify.
This commit is contained in:
parent
12249a767d
commit
7582a595ad
1 changed files with 2 additions and 4 deletions
|
@ -91,10 +91,8 @@ class DokkaConfig(
|
||||||
var moduleName: String = "",
|
var moduleName: String = "",
|
||||||
var skip: Boolean = false) {
|
var skip: Boolean = false) {
|
||||||
|
|
||||||
fun sourceLinks(init: SourceLinkMapItem.() -> Unit) {
|
fun sourceLinks(init: SourceLinkMapItem.() -> Unit)
|
||||||
val s: SourceLinkMapItem = SourceLinkMapItem().apply { init() }
|
= sourceLinks.add(SourceLinkMapItem().apply { init() })
|
||||||
sourceLinks.add(s)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Directive
|
@Directive
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue