Skip to content

Commit

Permalink
Docs: consolidate top nav (#12219)
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan authored Oct 24, 2023
1 parent d5c2ce7 commit 6e3f399
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 28 deletions.
61 changes: 46 additions & 15 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,29 +160,60 @@ const config = {
label: "Integrations",
},
{
to: "https://api.python.langchain.com",
href: "https://api.python.langchain.com",
label: "API",
position: "left",
},
{
to: "/docs/community",
label: "Community",
type: "dropdown",
label: "More",
position: "left",
items: [
{
to: "/docs/community",
label: "Community",
},
{
to: "/docs/additional_resources/dependents",
label: "Dependents",
},
{
to: "/docs/additional_resources/tutorials",
label: "Tutorials"
},
{
to: "/docs/additional_resources/youtube",
label: "YouTube videos"
},
{ label: "Gallery", href: "https://github.com/kyrolabs/awesome-langchain" }
]
},
{
to: "https://chat.langchain.com",
label: "Chat our docs",
position: "right",
},
{
to: "https://smith.langchain.com",
label: "LangSmith",
position: "right",
},
{
to: "https://js.langchain.com/docs",
label: "JS/TS Docs",
type: "dropdown",
label: "Also by LangChain",
position: "right",
items: [
{
href: "https://chat.langchain.com",
label: "Chat our docs",
},
{
href: "https://smith.langchain.com",
label: "LangSmith",
},
{
href: "https://smith.langchain.com/hub",
label: "LangChain Hub",
},
{
href: "https://github.com/langchain-ai/langserve",
label: "LangServe",
},
{
href: "https://js.langchain.com/docs",
label: "JS/TS",
},
]
},
// Please keep GitHub link to the right for consistency.
{
Expand Down
13 changes: 0 additions & 13 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,6 @@ module.exports = {
description: 'Design guides for key parts of the development process',
slug: "guides",
},
},
{
type: "category",
label: "More",
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",
},
}
],
integrations: [
Expand Down

0 comments on commit 6e3f399

Please sign in to comment.