Skip to content

Convert package info to HTML#3

Merged
DRMacIver merged 2 commits into
mainfrom
DRMacIver/package-info
Jun 12, 2026
Merged

Convert package info to HTML#3
DRMacIver merged 2 commits into
mainfrom
DRMacIver/package-info

Conversation

@DRMacIver

Copy link
Copy Markdown
Member

https://javadoc.io/doc/dev.hegel/hegel wasn't showing the main package info intro to the library, because we were using markdown package info, which is only supported on JDK 23+.

The two possible fixes were to build on 23+ and to convert to HTML, and I went with the one that lead to broader compatibility because markdown isn't that much of an improvement here.

DRMacIver and others added 2 commits June 12, 2026 08:41
The package overview was written with `///` Markdown documentation
comments (JEP 467), which only render under JDK 23+. javadoc.io serves
the published -javadoc.jar as-is rather than rebuilding it, so when the
release jar is produced by an older javadoc the `///` lines are treated
as ordinary comments and the package description disappears.

Rewrite it as traditional `/** */` HTML javadoc so it renders regardless
of the javadoc JDK. The Settings example's `/* ... */` placeholders
become line comments to avoid prematurely terminating the doc comment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DRMacIver DRMacIver merged commit 9dd07fd into main Jun 12, 2026
7 checks passed
@DRMacIver DRMacIver deleted the DRMacIver/package-info branch June 12, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant