From d9e493e96cadf3eeed67737f0d81fe33615a727e Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:31:45 -0800 Subject: [PATCH] fix module sidebar (#13158) --- docs/docs/modules/agents/index.mdx | 1 + docs/docs/modules/callbacks/index.mdx | 1 + docs/docs/modules/chains/index.ipynb | 1 + docs/docs/modules/data_connection/index.mdx | 1 + docs/docs/modules/memory/index.mdx | 1 + docs/docs/modules/model_io/index.mdx | 1 + docs/sidebars.js | 12 ++++++------ 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/docs/modules/agents/index.mdx b/docs/docs/modules/agents/index.mdx index 585415cba3..87c29df3c7 100644 --- a/docs/docs/modules/agents/index.mdx +++ b/docs/docs/modules/agents/index.mdx @@ -1,5 +1,6 @@ --- sidebar_position: 4 +sidebar_class_name: hidden --- # Agents diff --git a/docs/docs/modules/callbacks/index.mdx b/docs/docs/modules/callbacks/index.mdx index a228505741..c90951700e 100644 --- a/docs/docs/modules/callbacks/index.mdx +++ b/docs/docs/modules/callbacks/index.mdx @@ -1,5 +1,6 @@ --- sidebar_position: 5 +sidebar_class_name: hidden --- # Callbacks diff --git a/docs/docs/modules/chains/index.ipynb b/docs/docs/modules/chains/index.ipynb index 52b4ad10c8..17e921f33a 100644 --- a/docs/docs/modules/chains/index.ipynb +++ b/docs/docs/modules/chains/index.ipynb @@ -8,6 +8,7 @@ "---\n", "sidebar_position: 2\n", "title: Chains\n", + "sidebar_class_name: hidden\n", "---" ] }, diff --git a/docs/docs/modules/data_connection/index.mdx b/docs/docs/modules/data_connection/index.mdx index 0409f42637..77674f04e7 100644 --- a/docs/docs/modules/data_connection/index.mdx +++ b/docs/docs/modules/data_connection/index.mdx @@ -1,5 +1,6 @@ --- sidebar_position: 1 +sidebar_class_name: hidden --- # Retrieval diff --git a/docs/docs/modules/memory/index.mdx b/docs/docs/modules/memory/index.mdx index b1e3bb5d02..9391e750bb 100644 --- a/docs/docs/modules/memory/index.mdx +++ b/docs/docs/modules/memory/index.mdx @@ -1,5 +1,6 @@ --- sidebar_position: 3 +sidebar_class_name: hidden --- # Memory diff --git a/docs/docs/modules/model_io/index.mdx b/docs/docs/modules/model_io/index.mdx index d8e34b137f..b638ef300b 100644 --- a/docs/docs/modules/model_io/index.mdx +++ b/docs/docs/modules/model_io/index.mdx @@ -2,6 +2,7 @@ sidebar_position: 0 sidebar_custom_props: description: Interface with language models +sidebar_class_name: hidden --- # Model I/O diff --git a/docs/sidebars.js b/docs/sidebars.js index d306c9e58c..7cceaa08a2 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -48,17 +48,17 @@ module.exports = { label: "Modules", collapsed: false, items: [ - { type: "category", label: "Model I/O", collapsed: true, items: [{type:"autogenerated", dirName: "modules/model_io" }], link: { type: 'doc', id: "modules/model_io/index"}}, - { type: "category", label: "Retrieval", collapsed: true, items: [{type:"autogenerated", dirName: "modules/data_connection" }], link: { type: 'doc', id: "modules/data_connection/index"}}, - { type: "category", label: "Agents", collapsed: true, items: [{type:"autogenerated", dirName: "modules/agents" }], link: { type: 'doc', id: "modules/agents/index"}}, + { type: "category", label: "Model I/O", collapsed: true, items: [{type:"autogenerated", dirName: "modules/model_io" }], link: { type: 'doc', id: "modules/model_io/index" }}, + { type: "category", label: "Retrieval", collapsed: true, items: [{type:"autogenerated", dirName: "modules/data_connection" }], link: { type: 'doc', id: "modules/data_connection/index" }}, + { type: "category", label: "Agents", collapsed: true, items: [{type:"autogenerated", dirName: "modules/agents" }], link: { type: 'doc', id: "modules/agents/index" }}, { type: "category", label: "More", collapsed: true, items: [ - { type: "category", label: "Chains", collapsed: true, items: [{type:"autogenerated", dirName: "modules/chains" }], link: { type: 'doc', id: "modules/chains/index"}}, - { type: "category", label: "Memory", collapsed: true, items: [{type:"autogenerated", dirName: "modules/memory" }], link: { type: 'doc', id: "modules/memory/index"}}, - { type: "category", label: "Callbacks", collapsed: true, items: [{type:"autogenerated", dirName: "modules/callbacks" }], link: { type: 'doc', id: "modules/callbacks/index"}}, + { type: "category", label: "Chains", collapsed: true, items: [{type:"autogenerated", dirName: "modules/chains" }], link: { type: 'doc', id: "modules/chains/index" }}, + { type: "category", label: "Memory", collapsed: true, items: [{type:"autogenerated", dirName: "modules/memory" }], link: { type: 'doc', id: "modules/memory/index" }}, + { type: "category", label: "Callbacks", collapsed: true, items: [{type:"autogenerated", dirName: "modules/callbacks" }], link: { type: 'doc', id: "modules/callbacks/index" }}, ] } ],