Skip to content

Regenerate Javadoc to remove warnings. - #527

Merged
cpovirk merged 1 commit into
mainfrom
regen
Jun 14, 2024
Merged

cpovirk merged 1 commit into
mainfrom
regen

Conversation

@cpovirk

@cpovirk cpovirk commented Jun 14, 2024

Copy link
Copy Markdown
Collaborator

This picks up the changes of
#511 and the pending changes of
#526.

This picks up the changes of
#511 and the pending changes of
#526.
@cpovirk
cpovirk merged commit 4c7e842 into main Jun 14, 2024
@cpovirk
cpovirk deleted the regen branch June 14, 2024 21:35
@cpovirk

cpovirk commented Jun 17, 2024

Copy link
Copy Markdown
Collaborator Author

For reference, the command I ran was:

git rm -r docs/static/docs && rm -rf docs/static/docs/api && mkdir -p docs/static/docs && $HOME/jdk-23-ea+22/bin/javadoc -notimestamp -windowtitle 'jspecify 0.0.0-SNAPSHOT API' src/main/java/org/jspecify/annotations/*.java -d docs/static/docs/api && git add docs/static/docs

And the command that I probably should have run was:

JAVA_HOME=$HOME/jdk-23-ea+22 ./gradlew clean javadoc && git rm -r docs/static/docs && rm -rf docs/static/docs/api && mkdir -p docs/static/docs && cp -a build/docs/javadoc docs/static/docs/api && git add docs/static/docs

But I have had sporadic trouble with JDK 23 and Gradle, as previously discussed somewhere or other.... (Compare #517 for JDK 22.) Hopefully we could use any version of the JDK to run Gradle but still use JDK 23 to run Javadoc, presumably using "toolchains," as also discussed at various times (e.g., in #271). Or maybe we don't need to use the latest version of Javadoc.

Anyway, the two commands produce identical output except for the capitalization of "UTF-8" in the output's meta Content-Type value.

Presumably @netdpb will figure something out as part of #528.

@netdpb

netdpb commented Jun 20, 2024

Copy link
Copy Markdown
Collaborator

Fixes #491.

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.

2 participants