Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8331873: Improve/expand info in New API In on Help page #19222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathan-gibbons
Copy link
Contributor

@jonathan-gibbons jonathan-gibbons commented May 13, 2024

Please review a relatively simple update to the generated Help page, as part of the ongoing campaign to improve the documentation around the overall use of @since tags.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8331873: Improve/expand info in New API In on Help page (Enhancement - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19222/head:pull/19222
$ git checkout pull/19222

Update a local copy of the PR:
$ git checkout pull/19222
$ git pull https://git.openjdk.org/jdk.git pull/19222/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 19222

View PR using the GUI difftool:
$ git pr show -t 19222

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19222.diff

Webrev

Link to Webrev Comment

@jonathan-gibbons jonathan-gibbons marked this pull request as ready for review May 13, 2024 23:08
@bridgekeeper
Copy link

bridgekeeper bot commented May 13, 2024

👋 Welcome back jjg! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented May 13, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added the rfr Pull request is ready for review label May 13, 2024
@openjdk
Copy link

openjdk bot commented May 13, 2024

@jonathan-gibbons The following label will be automatically applied to this pull request:

  • javadoc

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the javadoc javadoc-dev@openjdk.org label May 13, 2024
@mlbridge
Copy link

mlbridge bot commented May 13, 2024

Webrevs

@jonathan-gibbons jonathan-gibbons changed the title 8331873: Improve/expand info in New API In on Help page. 8331873: Improve/expand info in New API In on Help page May 14, 2024
enclosing class or interface.
doclet.help.releases.body.refer=\
Some summary pages allow you to filter the contents of the page according to \
the release in which the declaration was introduced or deprecated.
Copy link
Member

Choose a reason for hiding this comment

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

We already have help sections for New and Deprecated API, and the paragraph is somewhat vague. I think we should at least mention the summary pages by name ("New API", "Deprecated API"). Maybe link to the pages or help sections?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The hard bit is that those pages may not always be present, depending on the command-line options...

The details for each member of a class or interface normally \
include the release in which the member was introduced, in those situations \
where the member was added after the initial introduction of the \
enclosing class or interface.
Copy link
Member

Choose a reason for hiding this comment

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

I think "normally" is confusing here, because a member being added in a later release is not necessary the "normal" case. How about reversing the sentence to make it immediately clear what we're talking about?

In those situations where a member was added after the initial introduction of the enclosing class or interface, the detail of the member includes the release in which it was introduced.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I agree the use of normally here could be seen as ambiguous. The comma on line 387 doesn't help.

@@ -378,6 +378,18 @@ doclet.help.search.refer=Refer to the {0} for a full description of search featu
doclet.help.search.spec.url=https://docs.oracle.com/en/java/javase/{0}/docs/specs/javadoc/javadoc-search-spec.html
# The title for the Javadoc Search Specification
doclet.help.search.spec.title=Javadoc Search Specification
doclet.help.releases.head=Release Details
Copy link
Member

Choose a reason for hiding this comment

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

The subtitle "Release Details" surprised me, because it seems to suggest "details about releases", while it is more like "release information (contained in API details)".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll look to see what I can improve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javadoc javadoc-dev@openjdk.org rfr Pull request is ready for review
2 participants