pulumi / pulumi-java

Java support for Pulumi
Apache License 2.0
69 stars 21 forks source link

Fix garbled javadoc display inside IDE #462

Open dixler opened 2 years ago

dixler commented 2 years ago

Hello!

Issue details

The providers autogenerated javadoc is currently using our markdown documentation as-is and it displays poorly.

Affected area/feature

pawelprazak commented 2 years ago

An alternative would be to change the default javadoc doclet to a markdown docklet.

dixler commented 2 years ago

fix this:

2022-05-16-080225_1416x796_scrot

t0yv0 commented 2 years ago

@Zaid-Ajaj mentions a workaround here by installing an extension. I wonder if we could link it up that'd be great (unless there is a better fix).

t0yv0 commented 2 years ago

Possible workaround: do not emit codeblocks at all but emit links to them on the docs site (if that's more foolproof to display in IDE).

t0yv0 commented 2 years ago

NOTES: markdown parsers in Golang that return AST exist (goldmark, etc). Some are used in pulumi/pulumi.

t0yv0 commented 2 years ago

Decided to do the workaround for now and deprioritize the deeper fix.

t0yv0 commented 2 years ago

https://plugins.jetbrains.com/plugin/9840-markdown-doclet-for-idea (from @Zaid-Ajaj )