From 80cd74ff63e156ecffa5bffa37bbf13a662b283e Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:27:12 +1100 Subject: [PATCH 1/2] docs: Update docs/config.json --- docs/config.json | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/docs/config.json b/docs/config.json index 50f4d55f73..6dd456abf8 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,17 +1,17 @@ { - "$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": [], - "frameworkMenus": [ + "sections": [ { - "framework": "react", - "menuItems": [ + "label": "Getting Started", + "children": [], + "frameworks": [ { - "label": "Getting Started", + "label": "react", "children": [ { "label": "Overview", @@ -42,9 +42,15 @@ "to": "framework/react/decisions-on-dx" } ] - }, + } + ] + }, + { + "label": "Guide", + "children": [], + "frameworks": [ { - "label": "Guide", + "label": "react", "children": [ { "label": "Route Trees & Nesting", @@ -151,18 +157,30 @@ "to": "framework/react/guide/ssr" } ] - }, + } + ] + }, + { + "label": "API", + "children": [], + "frameworks": [ { - "label": "API", + "label": "react", "children": [ { "label": "Reference", "to": "framework/react/api/router" } ] - }, + } + ] + }, + { + "label": "Examples", + "children": [], + "frameworks": [ { - "label": "Examples", + "label": "react", "children": [ { "label": "Quickstart (file-based)", From 9518cb2077e043bcaf799837b9e83fb9cd85cf8a Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:40:03 +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 6dd456abf8..0cbd4dc99a 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",