diff --git a/docs/config.json b/docs/config.json index a2980a2..0eeb4e2 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,11 +1,11 @@ { - "$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/main/tanstack-docs-config.schema.json", + "$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/docs-sidebar-restructure/tanstack-docs-config.schema.json", "docSearch": { "appId": "FQ0DQ6MA3C", "apiKey": "8264730bab8a9b7fa6a0c85761d7a3fe", "indexName": "tanstack" }, - "menu": [ + "sections": [ { "label": "Getting Started", "children": [ @@ -22,23 +22,28 @@ "to": "quick-start" } ] - } - ], - "frameworkMenus": [ + }, { - "framework": "react", - "menuItems": [ + "label": "Adapters", + "children": [], + "frameworks": [ { - "label": "Adapters", + "label": "react", "children": [ { "label": "React Ranger", "to": "framework/react/react-ranger" } ] - }, + } + ] + }, + { + "label": "API Reference", + "children": [], + "frameworks": [ { - "label": "API Reference", + "label": "react", "children": [ { "label": "Basic", @@ -61,9 +66,15 @@ "to": "framework/react/api/update-on-drag" } ] - }, + } + ] + }, + { + "label": "Examples", + "children": [], + "frameworks": [ { - "label": "Examples", + "label": "react", "children": [ { "label": "Basic", @@ -86,7 +97,7 @@ "to": "framework/react/examples/update-on-drag" } ] - } + } ] } ]