mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -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 skip: Boolean = false) {
|
||||
|
||||
fun sourceLinks(init: SourceLinkMapItem.() -> Unit) {
|
||||
val s: SourceLinkMapItem = SourceLinkMapItem().apply { init() }
|
||||
sourceLinks.add(s)
|
||||
}
|
||||
fun sourceLinks(init: SourceLinkMapItem.() -> Unit)
|
||||
= sourceLinks.add(SourceLinkMapItem().apply { init() })
|
||||
}
|
||||
|
||||
@Directive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue