Skip to content

Commit a997bde

Browse files
committed
fix: wrong Folia Javadoc link
1 parent 5e7f41e commit a997bde

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

astro.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ export default defineConfig({
4545
},
4646

4747
{ icon: "github", label: "folia:GitHub", href: "https://github.com/PaperMC/Folia" },
48-
{ icon: "seti:java", label: "folia:Javadoc", href: `https://jd.papermc.io/folia/${LATEST_FOLIA_RELEASE}` },
48+
{
49+
icon: "seti:java",
50+
label: "folia:Javadoc",
51+
href: `https://jd.papermc.io/folia/${LATEST_FOLIA_RELEASE.split(".").slice(0, 2).join(".")}`,
52+
},
4953

5054
{ icon: "github", label: "waterfall:GitHub", href: "https://github.com/PaperMC/Waterfall" },
5155
{

0 commit comments

Comments
 (0)