diff --git a/astro.config.ts b/astro.config.ts index 719ce8d8a..79311176b 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -61,7 +61,7 @@ export default defineConfig({ }, { icon: "github", label: "adventure:GitHub", href: "https://github.com/PaperMC/adventure" }, - { icon: "seti:java", label: "adventure:Javadoc", href: "https://jd.advntr.dev" }, + { icon: "seti:java", label: "adventure:Javadoc", href: "https://jd.papermc.io/adventure" }, { icon: "github", label: "waterfall:GitHub", href: "https://github.com/PaperMC/Waterfall" }, { @@ -569,6 +569,7 @@ export default defineConfig({ targets: { paper: "https://jd.papermc.io/paper", velocity: "https://jd.papermc.io/velocity", + adventure: "https://jd.papermc.io/adventure", java: { url: "https://docs.oracle.com/en/java/javase/25/docs/api", module: "java.base" }, }, }, diff --git a/src/content/docs/adventure/minimessage/format.mdx b/src/content/docs/adventure/minimessage/format.mdx index 4df36044e..0fde8945c 100644 --- a/src/content/docs/adventure/minimessage/format.mdx +++ b/src/content/docs/adventure/minimessage/format.mdx @@ -207,7 +207,7 @@ Tag * `` Arguments - * `_action_`, the type of click event, one of [this list](https://jd.advntr.dev/api/latest/net/kyori/adventure/text/event/ClickEvent.Action.html#enum.constant.summary) + * `_action_`, the type of click event, one of [this list](jd:adventure:net.kyori.adventure.api:net.kyori.adventure.text.event.ClickEvent.Action#enum.constant.summary) * `_value_`, the argument for that particular event, refer to [the minecraft wiki](https://minecraft.wiki/w/Text_component_format) Examples @@ -234,7 +234,7 @@ Tag * `` Arguments - * `_action_`, the type of hover event, one of this [list](https://jd.advntr.dev/api/latest/net/kyori/adventure/text/event/HoverEvent.Action.html#field.summary) + * `_action_`, the type of hover event, one of this [list](jd:adventure:net.kyori.adventure.api:net.kyori.adventure.text.event.HoverEvent.Action#field.summary) * `_value_`, argument(s) specific to each event action: [//]: # (FIXME: Starlight's padding doesn't apply for a spanned cell, so a manual padding is added) diff --git a/src/content/docs/paper/dev/api/command-api/arguments/adventure.mdx b/src/content/docs/paper/dev/api/command-api/arguments/adventure.mdx index 5e5fbe615..f930f4d89 100755 --- a/src/content/docs/paper/dev/api/command-api/arguments/adventure.mdx +++ b/src/content/docs/paper/dev/api/command-api/arguments/adventure.mdx @@ -47,7 +47,7 @@ public static LiteralCommandNode componentArgument() {