Skip to content

docs: replace javalang with an annotation processor#683

Merged
ato merged 1 commit intomasterfrom
ato/beandoc
Oct 28, 2025
Merged

docs: replace javalang with an annotation processor#683
ato merged 1 commit intomasterfrom
ato/beandoc

Conversation

@ato
Copy link
Copy Markdown
Collaborator

@ato ato commented Oct 28, 2025

This means we can rely on the Java compiler to parse the source code instead of the old python library which no longer works as it only supported Java 8 source code. The new processor generates a META-INF/heritrix-beans.json file for each module at compile time which the sphinx beandoc plugin then reads.

My intent is to eventually use the heritrix-beans.json files to also implement autocomplete and context-sensitive help in the Heritrix config editor.

Fixes #666

This means we can rely on the Java compiler to parse the source code instead of the old python library which no longer works as it only supported Java 8 source code. The new processor generates a META-INF/heritrix-beans.json file for each module at compile time which the sphinx beandoc plugin then reads.

My intent is to eventually use the heritrix-beans.json files to also implement autocomplete and context-sensitive help in the Heritrix config editor.
@ato ato merged commit 03b9c27 into master Oct 28, 2025
7 checks passed
@ato ato deleted the ato/beandoc branch October 28, 2025 07:32
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.

Bean reference documentation fails to build with JavaSyntaxError

1 participant