Skip to content

Use pseudo module for apidoc generation and honor json parameter - #8263

Merged
ebarboni merged 2 commits into
apache:masterfrom
ebarboni:apidocjdkjson
Feb 27, 2025
Merged

ebarboni merged 2 commits into
apache:masterfrom
ebarboni:apidocjdkjson

Conversation

@ebarboni

Copy link
Copy Markdown
Contributor

Attempt to fix #8254

This will need json update to jdk apidoc link matching apidoc jdk used for complete patch.

First use the json parameter to have link to jdk doc

Triage package according to jdk >8 or not
As we are building without module element-list cannot be used, so delegation to multiple package-list file in their respective module. Triaged from https://github.com/apache/netbeans/blob/master/nbbuild/javadoctools/package-list and non used package is in the unreferenced folder for future update.

--
second commit is for the codebase to have apidoc compatible with new schema.

@ebarboni ebarboni added the JavaDoc [ci] enable java/javadoc tests and build-javadoc target label Feb 20, 2025
@ebarboni ebarboni added this to the NB26 milestone Feb 20, 2025
@ebarboni
ebarboni requested review from mbien and sdedic February 20, 2025 11:03

@mbien mbien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me. The json will tell it to link to JDK 17?

@ebarboni

Copy link
Copy Markdown
Contributor Author

https://github.com/apache/netbeans-jenkins-lib/blob/c3608c720ec2761c08c0df44012fcc85e3ed5a7c/meta/netbeansrelease.json#L1531-L1540
jdk_apidoc key is intended for that. Just need to patch json file to match intended apidoc jdk version.

@mbien

mbien commented Feb 27, 2025

Copy link
Copy Markdown
Member

cool! sounds good

@ebarboni

Copy link
Copy Markdown
Contributor Author

lets test it

@ebarboni
ebarboni merged commit e031a38 into apache:master Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JavaDoc [ci] enable java/javadoc tests and build-javadoc target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netbeans javadoc links to ancient java se javadoc

2 participants