diff options
author | ebraminio <ebraminio@gmail.com> | 2022-05-16 18:45:40 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 17:15:40 +0300 |
commit | 658146291e2bbf3461a2c86f8e8e23cff6b211f6 (patch) | |
tree | 053cbef26286d3ac0247eca2e1dd1de97f801c79 /plugins/base/src/main/kotlin/translators | |
parent | c532003c71cc551ce0df797a8d6207c0edb8eaab (diff) | |
download | dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.gz dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.bz2 dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.zip |
Don't expose enum constructor arguments to documentations (#2497)
* Don't expose enum constructor arguments to documentation
Enum constructor arguments is mostly internal detail of enums that
isn't supposed to be exposed to clients of some library so let's
don't put it in the generated documentations result.
Diffstat (limited to 'plugins/base/src/main/kotlin/translators')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt index 85ec1d07..fa0a5b48 100644 --- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt @@ -321,8 +321,7 @@ private class DokkaDescriptorVisitor( expectPresentInSet = sourceSet.takeIf { isExpect }, extra = PropertyContainer.withAll( descriptor.additionalExtras().toSourceSetDependent().toAdditionalModifiers(), - descriptor.getAnnotations().toSourceSetDependent().toAnnotations(), - ConstructorValues(descriptor.getAppliedConstructorParameters().toSourceSetDependent()) + descriptor.getAnnotations().toSourceSetDependent().toAnnotations() ) ) } |