Lukas K-G
09/10/2025, 6:48 AMDefaultSymbolToDocumentableTranslator as this seems to be the only place that still has access to this kind of information but it does not seem to be extendible by plugins without having to copy/rewrite the whole thing.
Would someone have any suggestions as to how this could be achieved?Lukas K-G
09/10/2025, 8:50 AMLukas K-G
09/11/2025, 6:09 PMOleg Yukhnevich
09/12/2025, 12:22 PMDefaultSymbolToDocumentableTranslator is not accessible by plugins, that's right, and we have no plans to expose access to underlying Kotlin analysis functionality in Dokka
Could you maybe describe a bit why you need to bring back constructor arguments for enum entries?Lukas K-G
09/12/2025, 1:07 PMOleg Yukhnevich
09/12/2025, 3:18 PMLukas K-G
09/12/2025, 4:01 PMLukas K-G
09/12/2025, 4:03 PMOleg Yukhnevich
09/12/2025, 6:01 PMdocumentation field from documentable.
Or you can have a custom tag like @code 1111 and have a custom tag handlerLukas K-G
09/12/2025, 6:41 PMLukas K-G
09/15/2025, 6:29 AMCustomTagContentProvider the contentForBrief content is not included in the enums Entries section even though the documentation on the CustomTagContentProvider.DocumentableContentBuilder.contentForBrief indicates it should:
Brief comment section, usually displayed as a summary/preview.
For instance, when listing all functions of a class on one page, it'll be too much to display complete documentation for each function. Instead, a small brief is shown for each one (i.e the first paragraph or some other important information) - the user can go to the dedicated page for more details if they find the brief interesting.
Tag-wise, it would make sense to include Since Kotlin, since it's important information for the users of stdlib. It would make little sense to include @usesMathjax here, as this information seems to be more specific and detailed than is needed for a brief.
Looking at the code that (I think) generates the briefs, it seems like the custom tags don't seem to be included in the brief:
https://github.com/Kotlin/dokka/blob/62dc1f8e42437ae456674314f3f229f010235814/dokk[β¦]ains/dokka/base/translators/documentables/DefaultPageCreator.kt
This seems slightly counter intuitive but I might be missing something. Do you have some context why that might be the case?Oleg Yukhnevich
09/15/2025, 9:07 AMcontentForCustomTagsBrief for enum entries and constructors - and so custom tags are not rendered there π
This feels inconsistent and looks like a bug. Do you mind creating a PR to fix this? πLukas K-G
09/15/2025, 11:29 AMLukas K-G
09/15/2025, 11:58 AMOleg Yukhnevich
09/15/2025, 12:53 PMLukas K-G
09/15/2025, 1:30 PMLukas K-G
09/17/2025, 8:13 PM