feat: improve documentation sidebar quick links (#119)

* feat: improve documentation sidebar quick links

* test: update sidebar navigation expectations

---------

Co-authored-by: dadachann <[email protected]>
This commit is contained in:
Hyu
2026-09-05 12:21:22 +08:00
committed by GitHub
co-authored by dadachann
parent 2c5035c5c7
commit a7bca0cdba
4 changed files with 138 additions and 54 deletions
+40 -36
View File
@@ -25,31 +25,32 @@
},
"navbar": {
"links": [
{
"label": "Home",
"href": "https://langbot.app/en"
},
{
"label": "Cloud",
"href": "https://space.langbot.app/cloud?language=en"
"href": "https://space.langbot.app/cloud?language=en",
"icon": "cloud"
},
{
"label": "Extensions",
"href": "https://space.langbot.app/market?language=en"
"href": "https://space.langbot.app/market?language=en",
"icon": "blocks"
},
{
"label": "Blog",
"href": "https://langbot.app/en/blog"
"href": "https://langbot.app/en/blog",
"icon": "newspaper"
},
{
"label": "Roadmap",
"href": "https://langbot.app/en/roadmap"
"href": "https://langbot.app/en/roadmap",
"icon": "map"
}
],
"primary": {
"type": "button",
"label": "GitHub",
"href": "https://github.com/langbot-app/LangBot"
"href": "https://github.com/langbot-app/LangBot",
"icon": "github"
}
},
"footer": {
@@ -780,31 +781,32 @@
],
"navbar": {
"links": [
{
"label": "Home",
"href": "https://langbot.app/en"
},
{
"label": "Cloud",
"href": "https://space.langbot.app/cloud?language=en"
"href": "https://space.langbot.app/cloud?language=en",
"icon": "cloud"
},
{
"label": "Extensions",
"href": "https://space.langbot.app/market?language=en"
"href": "https://space.langbot.app/market?language=en",
"icon": "blocks"
},
{
"label": "Blog",
"href": "https://langbot.app/en/blog"
"href": "https://langbot.app/en/blog",
"icon": "newspaper"
},
{
"label": "Roadmap",
"href": "https://langbot.app/en/roadmap"
"href": "https://langbot.app/en/roadmap",
"icon": "map"
}
],
"primary": {
"type": "button",
"label": "GitHub",
"href": "https://github.com/langbot-app/LangBot"
"href": "https://github.com/langbot-app/LangBot",
"icon": "github"
}
}
},
@@ -1091,31 +1093,32 @@
],
"navbar": {
"links": [
{
"label": "首页",
"href": "https://langbot.app/zh"
},
{
"label": "云服务",
"href": "https://space.langbot.app/cloud?language=zh"
"href": "https://space.langbot.app/cloud?language=zh",
"icon": "cloud"
},
{
"label": "扩展",
"href": "https://space.langbot.app/market?language=zh"
"href": "https://space.langbot.app/market?language=zh",
"icon": "blocks"
},
{
"label": "博客",
"href": "https://langbot.app/zh/blog"
"href": "https://langbot.app/zh/blog",
"icon": "newspaper"
},
{
"label": "路线图",
"href": "https://langbot.app/zh/roadmap"
"href": "https://langbot.app/zh/roadmap",
"icon": "map"
}
],
"primary": {
"type": "button",
"label": "GitHub",
"href": "https://github.com/langbot-app/LangBot"
"href": "https://github.com/langbot-app/LangBot",
"icon": "github"
}
}
},
@@ -1377,31 +1380,32 @@
],
"navbar": {
"links": [
{
"label": "ホーム",
"href": "https://langbot.app/ja"
},
{
"label": "クラウド",
"href": "https://space.langbot.app/cloud?language=ja"
"href": "https://space.langbot.app/cloud?language=ja",
"icon": "cloud"
},
{
"label": "拡張機能",
"href": "https://space.langbot.app/market?language=ja"
"href": "https://space.langbot.app/market?language=ja",
"icon": "blocks"
},
{
"label": "ブログ",
"href": "https://langbot.app/ja/blog"
"href": "https://langbot.app/ja/blog",
"icon": "newspaper"
},
{
"label": "ロードマップ",
"href": "https://langbot.app/ja/roadmap"
"href": "https://langbot.app/ja/roadmap",
"icon": "map"
}
],
"primary": {
"type": "button",
"label": "GitHub",
"href": "https://github.com/langbot-app/LangBot"
"href": "https://github.com/langbot-app/LangBot",
"icon": "github"
}
}
}