CLOVIS
12/10/2022, 10:36 AMdocumentation
module that just contains object
s with documentation 😅Javier
12/10/2022, 11:04 AMCLOVIS
12/10/2022, 11:07 AMjaguililla
12/10/2022, 8:43 PMhfhbd
12/11/2022, 10:18 AMCLOVIS
12/11/2022, 10:37 AMhfhbd
12/11/2022, 12:18 PMIgnat Beresnev
12/12/2022, 5:59 PMCLOVIS
12/12/2022, 6:01 PMIgnat Beresnev
12/12/2022, 6:02 PMCLOVIS
12/12/2022, 6:06 PM# Module whatever
This is the description of the class [Foo][com.whatever.Foo].
and Dokka will correctly render the contents, with highlighting, linking etc to the other pages.
I'd just like to be able to use this syntax to create a new file that is rendered exactly the same way, just as its own page instead of as the description of the module.CLOVIS
12/12/2022, 6:09 PMCLOVIS
12/12/2022, 6:11 PMIgnat Beresnev
12/12/2022, 6:37 PMpackage-info.java
file, that's why it's supported, but it doesn't go beyond that
You could certainly re-use Dokka's Markdown parser and the rest of functionality, this would then be easier.
However, I've had a look at how you can implement it - looks like it's not possible at the moment as Dokka lacks an extension point for it 😞 I've created an issue here with some details. It seems simple enough to implement from our side, so I'll try to address it in the near future, will keep you posted.CLOVIS
12/12/2022, 6:37 PMIgnat Beresnev
12/12/2022, 6:40 PM@Ignat Beresnev do you want me to try to redact a proper summary in an issue?Probably not, but you can describe your use case in the comments of the issue so that it doesn't get lost. Once the extension point is implemented, we'll have to write tests anyway, so there you'll see an example of how to use it