Skip to content

Commit

Permalink
fix module sidebar (langchain-ai#13158)
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan authored and xieqihui committed Nov 21, 2023
1 parent b17c560 commit 1d85f90
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/docs/modules/agents/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 4
sidebar_class_name: hidden
---
# Agents

Expand Down
1 change: 1 addition & 0 deletions docs/docs/modules/callbacks/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 5
sidebar_class_name: hidden
---
# Callbacks

Expand Down
1 change: 1 addition & 0 deletions docs/docs/modules/chains/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"---\n",
"sidebar_position: 2\n",
"title: Chains\n",
"sidebar_class_name: hidden\n",
"---"
]
},
Expand Down
1 change: 1 addition & 0 deletions docs/docs/modules/data_connection/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 1
sidebar_class_name: hidden
---

# Retrieval
Expand Down
1 change: 1 addition & 0 deletions docs/docs/modules/memory/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 3
sidebar_class_name: hidden
---
# Memory

Expand Down
1 change: 1 addition & 0 deletions docs/docs/modules/model_io/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
sidebar_position: 0
sidebar_custom_props:
description: Interface with language models
sidebar_class_name: hidden
---

# Model I/O
Expand Down
12 changes: 6 additions & 6 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" }},
]
}
],
Expand Down

0 comments on commit 1d85f90

Please sign in to comment.