@@ -37,24 +37,27 @@ function injectTypeDocSidebar(items) {
3737 return {
3838 ...item ,
3939 items : [
40- {
41- type : "category" ,
42- label : "React Native SDK" ,
43- link : { type : "doc" , id : "api/mobile/index" } ,
44- items : require ( "./docs/api/mobile/typedoc-sidebar.cjs" ) ,
45- } ,
46- {
47- type : "category" ,
48- label : "React SDK" ,
49- link : { type : "doc" , id : "api/web/index" } ,
50- items : require ( "./docs/api/web/typedoc-sidebar.cjs" ) ,
51- } ,
52- {
53- type : "category" ,
54- label : "Server SDK for JS" ,
55- link : { type : "doc" , id : "api/server/index" } ,
56- items : require ( "./docs/api/server/typedoc-sidebar.cjs" ) ,
57- } ,
40+ ...[
41+ {
42+ type : "category" ,
43+ label : "React Native SDK" ,
44+ link : { type : "doc" , id : "api/mobile/index" } ,
45+ items : require ( "./docs/api/mobile/typedoc-sidebar.cjs" ) ,
46+ } ,
47+ {
48+ type : "category" ,
49+ label : "React SDK" ,
50+ link : { type : "doc" , id : "api/web/index" } ,
51+ items : require ( "./docs/api/web/typedoc-sidebar.cjs" ) ,
52+ } ,
53+ {
54+ type : "category" ,
55+ label : "Server SDK for JS" ,
56+ link : { type : "doc" , id : "api/server/index" } ,
57+ items : require ( "./docs/api/server/typedoc-sidebar.cjs" ) ,
58+ } ,
59+ ] ,
60+ ...item . items . filter ( ( element ) => element . type == "doc" ) ,
5861 ] ,
5962 } ;
6063 }
0 commit comments