From 64f39ba3e2acab8bc7ebcc72964cd84ad0f91ac8 Mon Sep 17 00:00:00 2001 From: Ty Dunn Date: Wed, 4 Sep 2024 14:05:30 -0700 Subject: [PATCH] updating sidebar structure --- docs/docs/actions/context-selection.md | 2 +- docs/docs/actions/how-to-use-it.md | 6 +- docs/docs/autocomplete/context-selection.md | 2 +- docs/docs/autocomplete/how-to-use-it.md | 6 +- docs/docs/chat/context-selection.md | 2 +- docs/docs/chat/how-to-use-it.md | 4 +- docs/docs/edit/context-selection.md | 2 +- docs/docs/edit/how-to-use-it.md | 6 +- docs/sidebars.js | 138 +++++++++++++++++++- 9 files changed, 148 insertions(+), 20 deletions(-) diff --git a/docs/docs/actions/context-selection.md b/docs/docs/actions/context-selection.md index f713694ae..c754d26cf 100644 --- a/docs/docs/actions/context-selection.md +++ b/docs/docs/actions/context-selection.md @@ -4,4 +4,4 @@ description: \-context selection keywords: [context] --- -# Context Selection +# Context selection diff --git a/docs/docs/actions/how-to-use-it.md b/docs/docs/actions/how-to-use-it.md index 511afb0e4..b73f91f06 100644 --- a/docs/docs/actions/how-to-use-it.md +++ b/docs/docs/actions/how-to-use-it.md @@ -1,7 +1,7 @@ --- -title: How to use -description: How to use +title: How to use it +description: How to use it keywords: [how] --- -# How to use +# How to use it \ No newline at end of file diff --git a/docs/docs/autocomplete/context-selection.md b/docs/docs/autocomplete/context-selection.md index f713694ae..c754d26cf 100644 --- a/docs/docs/autocomplete/context-selection.md +++ b/docs/docs/autocomplete/context-selection.md @@ -4,4 +4,4 @@ description: \-context selection keywords: [context] --- -# Context Selection +# Context selection diff --git a/docs/docs/autocomplete/how-to-use-it.md b/docs/docs/autocomplete/how-to-use-it.md index 511afb0e4..cdc985f94 100644 --- a/docs/docs/autocomplete/how-to-use-it.md +++ b/docs/docs/autocomplete/how-to-use-it.md @@ -1,7 +1,7 @@ --- -title: How to use -description: How to use +title: How to use it +description: How to use it keywords: [how] --- -# How to use +# How to use it diff --git a/docs/docs/chat/context-selection.md b/docs/docs/chat/context-selection.md index f713694ae..c754d26cf 100644 --- a/docs/docs/chat/context-selection.md +++ b/docs/docs/chat/context-selection.md @@ -4,4 +4,4 @@ description: \-context selection keywords: [context] --- -# Context Selection +# Context selection diff --git a/docs/docs/chat/how-to-use-it.md b/docs/docs/chat/how-to-use-it.md index 511afb0e4..09683a3e4 100644 --- a/docs/docs/chat/how-to-use-it.md +++ b/docs/docs/chat/how-to-use-it.md @@ -1,7 +1,7 @@ --- -title: How to use +title: How to use it description: How to use keywords: [how] --- -# How to use +# How to use it diff --git a/docs/docs/edit/context-selection.md b/docs/docs/edit/context-selection.md index f713694ae..c754d26cf 100644 --- a/docs/docs/edit/context-selection.md +++ b/docs/docs/edit/context-selection.md @@ -4,4 +4,4 @@ description: \-context selection keywords: [context] --- -# Context Selection +# Context selection diff --git a/docs/docs/edit/how-to-use-it.md b/docs/docs/edit/how-to-use-it.md index 511afb0e4..b73f91f06 100644 --- a/docs/docs/edit/how-to-use-it.md +++ b/docs/docs/edit/how-to-use-it.md @@ -1,7 +1,7 @@ --- -title: How to use -description: How to use +title: How to use it +description: How to use it keywords: [how] --- -# How to use +# How to use it \ No newline at end of file diff --git a/docs/sidebars.js b/docs/sidebars.js index 0f415a5f2..2e1db157c 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -17,15 +17,143 @@ const sidebars = { }, { type: "doc", - label: "Overview", id: "quickstart/overview", + label: "Overview", + }, + ], + }, + { + type: "category", + label: "Chat", + collapsible: true, + collapsed: true, + items: [ + { + type: "doc", + id: "chat/how-to-use-it", + label: "How to use it", + }, + { + type: "doc", + id: "chat/model-setup", + label: "Model setup", + }, + { + type: "doc", + id: "chat/context-selection", + label: "Context selection", + }, + { + type: "doc", + id: "chat/how-it-works", + label: "How it works", + }, + { + type: "doc", + id: "chat/advanced-configuration", + label: "Advanced configuration", + }, + ], + }, + { + type: "category", + label: "Autocomplete", + collapsible: true, + collapsed: true, + items: [ + { + type: "doc", + id: "autocomplete/how-to-use-it", + label: "How to use it", + }, + { + type: "doc", + id: "autocomplete/model-setup", + label: "Model setup", + }, + { + type: "doc", + id: "autocomplete/context-selection", + label: "Context selection", + }, + { + type: "doc", + id: "autocomplete/how-it-works", + label: "How it works", + }, + { + type: "doc", + id: "autocomplete/advanced-configuration", + label: "Advanced configuration", + }, + ], + }, + { + type: "category", + label: "Edit", + collapsible: true, + collapsed: true, + items: [ + { + type: "doc", + id: "edit/how-to-use-it", + label: "How to use it", + }, + { + type: "doc", + id: "edit/model-setup", + label: "Model setup", + }, + { + type: "doc", + id: "edit/context-selection", + label: "Context selection", + }, + { + type: "doc", + id: "edit/how-it-works", + label: "How it works", + }, + { + type: "doc", + id: "edit/advanced-configuration", + label: "Advanced configuration", + }, + ], + }, + { + type: "category", + label: "Actions", + collapsible: true, + collapsed: true, + items: [ + { + type: "doc", + id: "actions/how-to-use-it", + label: "How to use it", + }, + { + type: "doc", + id: "actions/model-setup", + label: "Model setup", + }, + { + type: "doc", + id: "actions/context-selection", + label: "Context selection", + }, + { + type: "doc", + id: "actions/how-it-works", + label: "How it works", + }, + { + type: "doc", + id: "actions/advanced-configuration", + label: "Advanced configuration", }, ], }, - "chat", - "autocomplete", - "edit", - "actions", "changelog", ], referenceSidebar: [