@@ -12,10 +12,12 @@ import {
12
12
LATEST_ADVENTURE_API_RELEASE ,
13
13
LATEST_ADVENTURE_PLATFORM_MOD_RELEASE ,
14
14
LATEST_ADVENTURE_PLATFORM_RELEASE ,
15
+ LATEST_FOLIA_RELEASE ,
15
16
LATEST_MC_RELEASE ,
16
17
LATEST_PAPER_RELEASE ,
17
18
LATEST_USERDEV_RELEASE ,
18
19
LATEST_VELOCITY_RELEASE ,
20
+ LATEST_WATERFALL_RELEASE ,
19
21
} from "./src/utils/versions" ;
20
22
21
23
const prod = process . env . NODE_ENV === "production" ;
@@ -37,9 +39,32 @@ export default defineConfig({
37
39
starlight ( {
38
40
title : "PaperMC Docs" ,
39
41
social : [
42
+ { icon : "github" , label : "paper:GitHub" , href : "https://github.com/PaperMC/Paper" } ,
43
+ { icon : "seti:java" , label : "paper:Javadoc" , href : `https://jd.papermc.io/paper/${ LATEST_PAPER_RELEASE } ` } ,
44
+
45
+ { icon : "github" , label : "velocity:GitHub" , href : "https://github.com/PaperMC/Velocity" } ,
46
+ {
47
+ icon : "seti:java" ,
48
+ label : "velocity:Javadoc" ,
49
+ href : `https://jd.papermc.io/velocity/${ LATEST_VELOCITY_RELEASE . substring ( 0 , LATEST_VELOCITY_RELEASE . lastIndexOf ( "." ) ) } .0` ,
50
+ } ,
51
+
52
+ { icon : "github" , label : "folia:GitHub" , href : "https://github.com/PaperMC/Folia" } ,
53
+ { icon : "seti:java" , label : "folia:Javadoc" , href : `https://jd.papermc.io/folia/${ LATEST_FOLIA_RELEASE } ` } ,
54
+
55
+ { icon : "github" , label : "adventure:GitHub" , href : "https://github.com/KyoriPowered/adventure" } ,
56
+ { icon : "seti:java" , label : "adventure:Javadoc" , href : "https://jd.advntr.dev" } ,
57
+
58
+ { icon : "github" , label : "waterfall:GitHub" , href : "https://github.com/PaperMC/Waterfall" } ,
59
+ {
60
+ icon : "seti:java" ,
61
+ label : "waterfall:Javadoc" ,
62
+ href : `https://jd.papermc.io/waterfall/${ LATEST_WATERFALL_RELEASE } ` ,
63
+ } ,
64
+
40
65
{ icon : "github" , label : "GitHub" , href : "https://github.com/PaperMC" } ,
41
- { icon : "discord" , label : "Discord" , href : "https://discord.gg/PaperMC" } ,
42
66
{ icon : "seti:java" , label : "Javadoc" , href : "https://jd.papermc.io" } ,
67
+ { icon : "discord" , label : "Discord" , href : "https://discord.gg/PaperMC" } ,
43
68
] ,
44
69
lastUpdated : true ,
45
70
editLink : {
@@ -521,7 +546,9 @@ export default defineConfig({
521
546
constants : {
522
547
LATEST_MC_RELEASE ,
523
548
LATEST_PAPER_RELEASE ,
549
+ LATEST_FOLIA_RELEASE ,
524
550
LATEST_VELOCITY_RELEASE ,
551
+ LATEST_WATERFALL_RELEASE ,
525
552
LATEST_USERDEV_RELEASE ,
526
553
LATEST_ADVENTURE_API_RELEASE ,
527
554
LATEST_ADVENTURE_PLATFORM_RELEASE ,
0 commit comments