Skip to content

The agent engineering platform.

Docs: consolidate top nav (#12219)

Bagatur6e3f39963f97
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index f81c72549b..fa97988ce8 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -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.
{
diff --git a/docs/sidebars.js b/docs/sidebars.js
index 9ee0598da3..fbcc4c4f5a 100644
--- a/docs/sidebars.js
+++ b/docs/sidebars.js
@@ -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: [