diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-11-19 19:49:51 +0100 |
---|---|---|
committer | Błażej Kardyś <bkardys@virtuslab.com> | 2019-11-25 16:24:16 +0100 |
commit | 6da7e2f1f4bd2ff9c1cf61ed48aef889345e7e3a (patch) | |
tree | 4c91844071b89577f0f20cb07f44371b896d8e6c /core/src/main | |
parent | b837c526608b29c8dfc1e9c405097bb8171c648b (diff) | |
download | dokka-6da7e2f1f4bd2ff9c1cf61ed48aef889345e7e3a.tar.gz dokka-6da7e2f1f4bd2ff9c1cf61ed48aef889345e7e3a.tar.bz2 dokka-6da7e2f1f4bd2ff9c1cf61ed48aef889345e7e3a.zip |
Add TODO due to not wrapping signatures in ContentCode
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/transformers/DefaultDocumentationToPageTransformer.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/kotlin/transformers/DefaultDocumentationToPageTransformer.kt b/core/src/main/kotlin/transformers/DefaultDocumentationToPageTransformer.kt index 6cfcec56..23f3443c 100644 --- a/core/src/main/kotlin/transformers/DefaultDocumentationToPageTransformer.kt +++ b/core/src/main/kotlin/transformers/DefaultDocumentationToPageTransformer.kt @@ -5,6 +5,7 @@ import org.jetbrains.dokka.Model.* import org.jetbrains.dokka.Model.Function import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.pages.* +import org.jetbrains.dokka.pages.Extra import org.jetbrains.dokka.parseMarkdown import org.jetbrains.kotlin.descriptors.ConstructorDescriptor import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe @@ -196,7 +197,7 @@ class DefaultDocumentationToPageTransformer( ) = ContentBuilder(node, kind).apply(block).build() // When builder is made public it will be moved as extension method to someplace near Function model - private fun ContentBuilder.signature(f: Function) = signature(f) { + private fun ContentBuilder.signature(f: Function) = signature(f) { // TODO: wrap this in ContentCode text("fun ") if (f.receiver is Parameter) { type(f.receiver.descriptors.first().descriptor.type) |