diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-03-11 13:56:21 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@users.noreply.github.com> | 2020-03-11 14:36:37 +0100 |
commit | 356be7009f857032f87bf0e5943cdef7f1438f65 (patch) | |
tree | 3b865af714b103a10a837c86ef7bb3b25071f67a /core/src/main/kotlin | |
parent | 5636115aee8d13870f0d3f172667fca1b3f78276 (diff) | |
download | dokka-356be7009f857032f87bf0e5943cdef7f1438f65.tar.gz dokka-356be7009f857032f87bf0e5943cdef7f1438f65.tar.bz2 dokka-356be7009f857032f87bf0e5943cdef7f1438f65.zip |
Refactor brief documentation, remove `Parameters` block from functions' pages
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r-- | core/src/main/kotlin/model/Documentable.kt | 11 | ||||
-rw-r--r-- | core/src/main/kotlin/pages/ContentNodes.kt | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index 94bd624a..176647fa 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -23,17 +23,6 @@ abstract class Documentable { other is Documentable && this.dri == other.dri // TODO: https://github.com/Kotlin/dokka/pull/667#discussion_r382555806 override fun hashCode() = dri.hashCode() - - val briefDocTagString: String by lazy { - // TODO > utils - documentation.values - .firstOrNull() - ?.children - ?.firstOrNull() - ?.root - ?.docTagSummary() - ?.shorten(40) ?: "" - } } data class PlatformDependent<out T>( diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt index 6a8ad3b3..414fac4a 100644 --- a/core/src/main/kotlin/pages/ContentNodes.kt +++ b/core/src/main/kotlin/pages/ContentNodes.kt @@ -167,7 +167,7 @@ interface Style interface Kind enum class ContentKind : Kind { - Comment, Constructors, Functions, Parameters, Properties, Classlikes, Packages, Symbol, Sample, Main + Comment, Constructors, Functions, Parameters, Properties, Classlikes, Packages, Symbol, Sample, Main, BriefComment } enum class TextStyle : Style { |