mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
101 lines
2.5 KiB
JavaScript
101 lines
2.5 KiB
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
/**
|
|
* Creating a sidebar enables you to:
|
|
- create an ordered group of docs
|
|
- render a sidebar for each doc of that group
|
|
- provide next/previous navigation
|
|
|
|
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
|
|
Create as many sidebars as you want.
|
|
*/
|
|
|
|
module.exports = {
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
sidebar: [
|
|
{
|
|
type: "category",
|
|
label: "Get started",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [{ type: "autogenerated", dirName: "get_started" }],
|
|
link: {
|
|
type: 'generated-index',
|
|
description: 'Get started with LangChain',
|
|
slug: "get_started",
|
|
},
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Modules",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [{ type: "autogenerated", dirName: "modules" } ],
|
|
link: {
|
|
type: 'doc',
|
|
id: "modules/index"
|
|
},
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Use cases",
|
|
collapsed: true,
|
|
items: [{ type: "autogenerated", dirName: "use_cases" }],
|
|
link: {
|
|
type: 'generated-index',
|
|
description: 'Walkthroughs of common end-to-end use cases',
|
|
slug: "use_cases",
|
|
},
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Guides",
|
|
collapsed: true,
|
|
items: [{ type: "autogenerated", dirName: "guides" }],
|
|
link: {
|
|
type: 'generated-index',
|
|
description: 'Design guides for key parts of the development process',
|
|
slug: "guides",
|
|
},
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Ecosystem",
|
|
collapsed: true,
|
|
items: [{ type: "autogenerated", dirName: "ecosystem" }],
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: "ecosystem",
|
|
},
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Additional resources",
|
|
collapsed: true,
|
|
items: [{ type: "autogenerated", dirName: "additional_resources" }, { type: "link", label: "Gallery", href: "https://github.com/kyrolabs/awesome-langchain" }],
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: "additional_resources",
|
|
},
|
|
},
|
|
{
|
|
type: "html",
|
|
value: "<hr>",
|
|
defaultStyle: true,
|
|
},
|
|
{
|
|
type: "link",
|
|
href: "https://api.python.langchain.com",
|
|
label: "API reference",
|
|
},
|
|
],
|
|
};
|