Skip to content

More and newer Javadoc links. - #1386

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_721101014
Jan 30, 2025
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_721101014

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

More and newer Javadoc links.

  • For Truth: the J2ObjC annotations and the Error Prone annotations
  • For Guava: the latest version of the J2ObjC annotations

(I'm still using linkoffline for the J2ObjC annotations at javadoc.io, even though at least one of the two problems we had with that before has possibly been solved: I'm not sure if it has been completely solved, and I haven't looked into the second problem at all. Note that, if we do want to use plain link, we may need to fiddle with the exact URL that we use. The one that I'm using now is where we ultimately want the user to end up, so that might be better than any indirect URL that we might need in order to use plain link.)

Note that the Truth configuration works well for mvn javadoc:aggregate, which is what we use to generate truth.dev/api. For mvn javadoc:javadoc, it leads to non-fatal "errors":

[ERROR] The given File link: /usr/local/google/home/cpovirk/tmp.W4DFN5mMtK/git/core/javadoc-link/j2objc-annotations is not a dir.
[ERROR] Error fetching link: /usr/local/google/home/cpovirk/tmp.W4DFN5mMtK/git/core/javadoc-link/j2objc-annotations. Ignored it.

It's possible that we'll see these during the release process. If they ever become true errors, I can mess with the configuration some more. (I think that this kind of "error" is the reason that I didn't try to share the Javadoc config for Guava across modules.)

RELNOTES=n/a

- For Truth: the J2ObjC annotations and the Error Prone annotations
- For Guava: the latest version of the J2ObjC annotations

(I'm still using `linkoffline` for the J2ObjC annotations at javadoc.io, even though at least one of the two problems we had with that before has possibly [been solved](maxcellent/javadoc.io#20): I'm not sure if it has been completely solved, and I haven't looked into the second problem at all. Note that, if we do want to use plain `link`, we may need to fiddle with the exact URL that we use. The one that I'm using now is where we ultimately want the user to end up, so that might be better than any indirect URL that we might need in order to use plain `link`.)

Note that the Truth configuration works well for `mvn javadoc:aggregate`, which is what we use to generate truth.dev/api. For `mvn javadoc:javadoc`, it leads to non-fatal "errors":

```
[ERROR] The given File link: /usr/local/google/home/cpovirk/tmp.W4DFN5mMtK/git/core/javadoc-link/j2objc-annotations is not a dir.
[ERROR] Error fetching link: /usr/local/google/home/cpovirk/tmp.W4DFN5mMtK/git/core/javadoc-link/j2objc-annotations. Ignored it.
```

It's possible that we'll see these during the release process. If they ever become true errors, I can mess with the configuration some more. (I think that this kind of "error" is the reason that I didn't try to share the Javadoc config for _Guava_ across modules.)

RELNOTES=n/a
PiperOrigin-RevId: 721364579
@copybara-service
copybara-service Bot merged commit b11598e into master Jan 30, 2025
@copybara-service
copybara-service Bot deleted the test_721101014 branch January 30, 2025 14:18
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