Skip to content

Commit af29b3b

Browse files
authoredMar 12, 2024··
docs: Update docs/config.json (#5404)
* docs: Update docs/config.json * Update schema
1 parent 38f8c7c commit af29b3b

File tree

1 file changed

+58
-70
lines changed

1 file changed

+58
-70
lines changed
 

‎docs/config.json

+58-70
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"apiKey": "9fc015a3310be6669ed66c6c459f319f",
66
"indexName": "tanstack-table"
77
},
8-
"menu": [
8+
"sections": [
99
{
1010
"label": "Getting Started",
1111
"children": [
@@ -29,6 +29,44 @@
2929
"label": "Vanilla JS/TS",
3030
"to": "vanilla"
3131
}
32+
],
33+
"frameworks": [
34+
{
35+
"label": "react",
36+
"children": [
37+
{
38+
"label": "React Table",
39+
"to": "framework/react/react-table"
40+
}
41+
]
42+
},
43+
{
44+
"label": "solid",
45+
"children": [
46+
{
47+
"label": "Solid Table",
48+
"to": "framework/solid/solid-table"
49+
}
50+
]
51+
},
52+
{
53+
"label": "svelte",
54+
"children": [
55+
{
56+
"label": "Svelte Table",
57+
"to": "framework/svelte/svelte-table"
58+
}
59+
]
60+
},
61+
{
62+
"label": "vue",
63+
"children": [
64+
{
65+
"label": "Vue Table",
66+
"to": "framework/vue/vue-table"
67+
}
68+
]
69+
}
3270
]
3371
},
3472
{
@@ -62,6 +100,17 @@
62100
"label": "Cells",
63101
"to": "guide/cells"
64102
}
103+
],
104+
"frameworks": [
105+
{
106+
"label": "react",
107+
"children": [
108+
{
109+
"label": "Table State",
110+
"to": "framework/react/guide/table-state"
111+
}
112+
]
113+
}
65114
]
66115
},
67116
{
@@ -219,32 +268,13 @@
219268
"to": "enterprise/ag-grid"
220269
}
221270
]
222-
}
223-
],
224-
"frameworkMenus": [
271+
},
225272
{
226-
"framework": "react",
227-
"menuItems": [
228-
{
229-
"label": "Getting Started",
230-
"children": [
231-
{
232-
"label": "React Table",
233-
"to": "framework/react/react-table"
234-
}
235-
]
236-
},
273+
"label": "Examples",
274+
"children": [],
275+
"frameworks": [
237276
{
238-
"label": "Core Guides",
239-
"children": [
240-
{
241-
"label": "Table State",
242-
"to": "framework/react/guide/table-state"
243-
}
244-
]
245-
},
246-
{
247-
"label": "Examples",
277+
"label": "react",
248278
"children": [
249279
{
250280
"to": "framework/react/examples/basic",
@@ -363,23 +393,9 @@
363393
"label": "React Full Width Resizable"
364394
}
365395
]
366-
}
367-
]
368-
},
369-
{
370-
"framework": "solid",
371-
"menuItems": [
372-
{
373-
"label": "Getting Started",
374-
"children": [
375-
{
376-
"label": "Solid Table",
377-
"to": "framework/solid/solid-table"
378-
}
379-
]
380396
},
381397
{
382-
"label": "Examples",
398+
"label": "solid",
383399
"children": [
384400
{
385401
"to": "framework/solid/examples/basic",
@@ -410,23 +426,9 @@
410426
"label": "Solid Bootstrap"
411427
}
412428
]
413-
}
414-
]
415-
},
416-
{
417-
"framework": "svelte",
418-
"menuItems": [
419-
{
420-
"label": "Getting Started",
421-
"children": [
422-
{
423-
"label": "Svelte Table",
424-
"to": "framework/svelte/svelte-table"
425-
}
426-
]
427429
},
428430
{
429-
"label": "Examples",
431+
"label": "svelte",
430432
"children": [
431433
{
432434
"to": "framework/svelte/examples/basic",
@@ -457,23 +459,9 @@
457459
"label": "Sorting"
458460
}
459461
]
460-
}
461-
]
462-
},
463-
{
464-
"framework": "vue",
465-
"menuItems": [
466-
{
467-
"label": "Getting Started",
468-
"children": [
469-
{
470-
"label": "Vue Table",
471-
"to": "framework/vue/vue-table"
472-
}
473-
]
474462
},
475463
{
476-
"label": "Examples",
464+
"label": "vue",
477465
"children": [
478466
{
479467
"to": "framework/vue/examples/basic",

0 commit comments

Comments
 (0)
Please sign in to comment.