@@ -7,10 +7,12 @@ import starlightSidebarTopics from "starlight-sidebar-topics";
77import codeConstantsPlugin from "./src/utils/remark/code_const" ;
88import javadocPlugin from "./src/utils/remark/javadoc" ;
99import {
10+ LATEST_FOLIA_RELEASE ,
1011 LATEST_MC_RELEASE ,
1112 LATEST_PAPER_RELEASE ,
1213 LATEST_USERDEV_RELEASE ,
1314 LATEST_VELOCITY_RELEASE ,
15+ LATEST_WATERFALL_RELEASE ,
1416} from "./src/utils/versions" ;
1517
1618const prod = process . env . NODE_ENV === "production" ;
@@ -32,9 +34,29 @@ export default defineConfig({
3234 starlight ( {
3335 title : "PaperMC Docs" ,
3436 social : [
37+ { icon : "github" , label : "paper:GitHub" , href : "https://github.com/PaperMC/Paper" } ,
38+ { icon : "seti:java" , label : "paper:Javadoc" , href : `https://jd.papermc.io/paper/${ LATEST_PAPER_RELEASE } ` } ,
39+
40+ { icon : "github" , label : "velocity:GitHub" , href : "https://github.com/PaperMC/Velocity" } ,
41+ {
42+ icon : "seti:java" ,
43+ label : "velocity:Javadoc" ,
44+ href : `https://jd.papermc.io/velocity/${ LATEST_VELOCITY_RELEASE . substring ( 0 , LATEST_VELOCITY_RELEASE . lastIndexOf ( "." ) ) } .0` ,
45+ } ,
46+
47+ { 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 } ` } ,
49+
50+ { icon : "github" , label : "waterfall:GitHub" , href : "https://github.com/PaperMC/Waterfall" } ,
51+ {
52+ icon : "seti:java" ,
53+ label : "waterfall:Javadoc" ,
54+ href : `https://jd.papermc.io/waterfall/${ LATEST_WATERFALL_RELEASE } ` ,
55+ } ,
56+
3557 { icon : "github" , label : "GitHub" , href : "https://github.com/PaperMC" } ,
36- { icon : "discord" , label : "Discord" , href : "https://discord.gg/PaperMC" } ,
3758 { icon : "seti:java" , label : "Javadoc" , href : "https://jd.papermc.io" } ,
59+ { icon : "discord" , label : "Discord" , href : "https://discord.gg/PaperMC" } ,
3860 ] ,
3961 lastUpdated : true ,
4062 editLink : {
@@ -433,6 +455,8 @@ export default defineConfig({
433455 LATEST_MC_RELEASE ,
434456 LATEST_PAPER_RELEASE ,
435457 LATEST_VELOCITY_RELEASE ,
458+ LATEST_FOLIA_RELEASE ,
459+ LATEST_WATERFALL_RELEASE ,
436460 LATEST_USERDEV_RELEASE ,
437461 } ,
438462 } ,
0 commit comments