From e351af7b9d8920611c28954b342803f48b662b36 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:32:35 +1100 Subject: [PATCH 1/2] docs: Update docs/config.json --- docs/config.json | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) 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" } ] - } + } ] } ] From 84c990ccfa691af5d6ec74ac00eb17682f794ccc Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:41:00 +1100 Subject: [PATCH 2/2] Update schema --- docs/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.json b/docs/config.json index 0eeb4e2..3443b3e 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/docs-sidebar-restructure/tanstack-docs-config.schema.json", + "$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/main/tanstack-docs-config.schema.json", "docSearch": { "appId": "FQ0DQ6MA3C", "apiKey": "8264730bab8a9b7fa6a0c85761d7a3fe",