File tree 5 files changed +24
-0
lines changed
5 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ function injectIndexPageIcons() {
77
77
a . classList . add ( "index-download-button" ) ;
78
78
} else if ( href . includes ( "/intro" ) ) {
79
79
a . classList . add ( "index-docs-button" ) ;
80
+ } else if ( href . includes ( "javadocs" ) ) {
81
+ a . classList . add ( "index-javadocs-button" )
80
82
}
81
83
} )
82
84
}
Original file line number Diff line number Diff line change @@ -91,6 +91,18 @@ kbd:not(.DocSearch-Button-Key) {
91
91
content : url (/images/index/docs-light.svg);
92
92
}
93
93
94
+ .index-javadocs-button : before {
95
+ display : block;
96
+ float : left;
97
+ width : 18px ;
98
+ height : 18px ;
99
+ padding-top : 5px ;
100
+ margin-left : -4px ;
101
+ margin-right : 6px ;
102
+ /*noinspection CssUnknownTarget*/
103
+ content : url (/images/index/javadocs-light.svg);
104
+ }
105
+
94
106
.dark {
95
107
.tip .custom-block > .danger .custom-block {
96
108
background-color : # 3e2129 ;
@@ -105,4 +117,9 @@ kbd:not(.DocSearch-Button-Key) {
105
117
/*noinspection CssUnknownTarget*/
106
118
content : url (/images/index/docs-dark.svg);
107
119
}
120
+
121
+ .index-javadocs-button : before {
122
+ /*noinspection CssUnknownTarget*/
123
+ content : url (/images/index/javadocs-dark.svg);
124
+ }
108
125
}
Original file line number Diff line number Diff line change 9
9
- theme : brand
10
10
text : Documentation
11
11
link : /intro
12
+ - theme : alt
13
+ text : Javadocs
14
+ link : https://javadocs.commandapi.dev/
12
15
- theme : alt
13
16
text : Latest Release
14
17
link : https://github.com/CommandAPI/CommandAPI/releases/latest
You can’t perform that action at this time.
0 commit comments