You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -597,7 +597,27 @@ For example, you can set `javadoc-location` to `xref:api:java` if you publish ja
597
597
598
598
NOTE: document attributes can be set in your Antora playback under the https://docs.antora.org/antora/latest/playbook/asciidoc-attributes/#attributes-key[attributes key].
599
599
600
-
You can also override locations on a per-link basis.
600
+
===== Package Specific Locations
601
+
602
+
You can use package specific `javadoc-location` document attributes if you want to support multiple locations.
603
+
To set a package specific location, add a `javadoc-location-<package>` document attribute.
604
+
The `<package>` should be the java package name with all `.` characters replaced with `-`.
605
+
606
+
For example, the following will use different locations for `com.example.core` links:
0 commit comments