RFR: JDK-8303349: Simplify link format for generic types in index pages

Hannes Wallnöfer hannesw at openjdk.org
Fri Mar 10 10:44:53 UTC 2023


On Tue, 28 Feb 2023 14:04:19 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a simple change to simplify the format of links to generic types in various JavaDoc index pages. Previously, these included dedicated links for type parameters and bounds, which seems excessive for use in an index. 
> 
> Below are before and after screenshots for `Spliterator.ofPrimitive` (which is admittedly an extreme case) and neighboring index entries. Note that now links to generic types match what we do for executables, where the whole signature is used as link label.
> 
> Before:
> <img width="804" alt="index-generic-links-1" src="https://user-images.githubusercontent.com/15975/221875901-07899cc7-8822-4e59-8b93-51efb6795a83.png">
> 
> After:
> <img width="546" alt="index-generic-links-2" src="https://user-images.githubusercontent.com/15975/221875944-b3db5fab-4e11-493b-8499-54bfeccbeb65.png">

Thanks for the review, I addressed the feedback.

-------------

PR: https://git.openjdk.org/jdk/pull/12786


More information about the javadoc-dev mailing list