File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,23 @@ const rescriptTM = JSON.parse(
77 readFileSync ( "./docs/assets/rescript.tmLanguage.json" , "utf-8" ) ,
88) ;
99
10- const apiSidebarItems = apiModules . map ( ( { moduleName, link, items } ) => {
10+ const apiSidebarItems = apiModules . map ( ( { moduleName, link, items } ) => {
1111 const nestedItems = Object . values ( items ) . map ( ( { moduleName, link } ) => ( {
1212 label : moduleName ,
13- link
13+ link,
1414 } ) ) ;
1515
16- return ( {
16+ return {
1717 label : moduleName ,
1818 collapsed : true ,
1919 items : [
2020 {
2121 label : `Overview` ,
22- link
22+ link,
2323 } ,
24- ...nestedItems
25- ]
26- } ) ;
24+ ...nestedItems ,
25+ ] ,
26+ } ;
2727} ) ;
2828
2929export default defineConfig ( {
@@ -37,9 +37,13 @@ export default defineConfig({
3737 logo : {
3838 src : "./docs/assets/rescript-logo.svg" ,
3939 } ,
40- social : {
41- github : "https://github.com/rescript-lang/experimental-rescript-webapi" ,
42- } ,
40+ social : [
41+ {
42+ icon : "github" ,
43+ label : "GitHub" ,
44+ href : "https://github.com/rescript-lang/experimental-rescript-webapi" ,
45+ } ,
46+ ] ,
4347 editLink : {
4448 baseUrl :
4549 "https://github.com/rescript-lang/experimental-rescript-webapi/edit/main/" ,
You can’t perform that action at this time.
0 commit comments