Fix javadoc links to include module

See gh-41614
This commit is contained in:
Phillip Webb 2024-11-20 12:29:25 -08:00
parent 924ea70c19
commit e645f4e734
1 changed files with 10 additions and 10 deletions

View File

@ -203,16 +203,16 @@ public class AntoraAsciidocAttributes {
private void addUrlJava(Map<String, String> attributes) {
attributes.put("url-javase-javadoc", "https://docs.oracle.com/en/java/javase/17/docs/api/");
attributes.put("javadoc-location-java-beans", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-lang", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-net", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-io", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-time", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-util", "{url-javase-javadoc}");
attributes.put("javadoc-location-javax-management", "{url-javase-javadoc}");
attributes.put("javadoc-location-javax-net", "{url-javase-javadoc}");
attributes.put("javadoc-location-javax-sql", "{url-javase-javadoc}");
attributes.put("javadoc-location-javax-xml", "{url-javase-javadoc}");
attributes.put("javadoc-location-java-beans", "{url-javase-javadoc}/java.desktop");
attributes.put("javadoc-location-java-lang", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-java-net", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-java-io", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-java-time", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-java-util", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-javax-management", "{url-javase-javadoc}/java.management");
attributes.put("javadoc-location-javax-net", "{url-javase-javadoc}/java.base");
attributes.put("javadoc-location-javax-sql", "{url-javase-javadoc}/java.sql");
attributes.put("javadoc-location-javax-xml", "{url-javase-javadoc}/java.xml");
}
private void addUrlLibraryLinkAttributes(Map<String, String> attributes) {