diff options
| author | Goooler <wangzongler@gmail.com> | 2022-02-15 17:38:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-15 12:38:10 +0300 |
| commit | 2372302f4bc3b4bf49beb0d477eebdd9ac99a78f (patch) | |
| tree | 3a984a8ecdd63da74dfd48a777cc56200ee1d666 /core/src/main/kotlin/plugability | |
| parent | b0244f69277f492eb87694cf34cc620a265adbcb (diff) | |
| download | dokka-2372302f4bc3b4bf49beb0d477eebdd9ac99a78f.tar.gz dokka-2372302f4bc3b4bf49beb0d477eebdd9ac99a78f.tar.bz2 dokka-2372302f4bc3b4bf49beb0d477eebdd9ac99a78f.zip | |
Convert interfaces to functional (#2360)
Diffstat (limited to 'core/src/main/kotlin/plugability')
| -rw-r--r-- | core/src/main/kotlin/plugability/DokkaContext.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/plugability/DokkaContext.kt b/core/src/main/kotlin/plugability/DokkaContext.kt index f8aa5969..06efeb1a 100644 --- a/core/src/main/kotlin/plugability/DokkaContext.kt +++ b/core/src/main/kotlin/plugability/DokkaContext.kt @@ -43,7 +43,7 @@ interface DokkaContext { inline fun <reified T : DokkaPlugin> DokkaContext.plugin(): T = plugin(T::class) ?: throw java.lang.IllegalStateException("Plugin ${T::class.qualifiedName} is not present in context.") -interface DokkaContextConfiguration { +fun interface DokkaContextConfiguration { fun installExtension(extension: Extension<*, *, *>) } |
