pages.contentNodeProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dokka-core Show documentation
Show all versions of dokka-core Show documentation
Dokka is an API documentation engine for Kotlin and Java, performing the same function as Javadoc for Java
package org.jetbrains.dokka.pages
import org.jetbrains.dokka.model.properties.ExtraProperty
class SimpleAttr(val extraKey: String, val extraValue: String) : ExtraProperty {
data class SimpleAttrKey(val key: String) : ExtraProperty.Key
override val key: ExtraProperty.Key = SimpleAttrKey(extraKey)
companion object {
fun header(value: String) = SimpleAttr("data-togglable", value)
}
}
object HtmlContent : ExtraProperty, ExtraProperty.Key {
override val key: ExtraProperty.Key = this
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy