From ca5a1fb816149829d3bbf2c68e06c2000e3a57ee Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Mon, 18 May 2026 12:16:21 +0800 Subject: [PATCH] docs: add platform icons to all locales --- docs.json | 50 +++++++++++++++++++++++++------- en/usage/platforms/dingtalk.mdx | 2 +- en/usage/platforms/discord.mdx | 4 ++- en/usage/platforms/kook.mdx | 2 +- en/usage/platforms/lark.mdx | 2 +- en/usage/platforms/line.mdx | 4 ++- en/usage/platforms/slack.mdx | 4 ++- en/usage/platforms/telegram.mdx | 4 ++- en/usage/platforms/webpage.mdx | 4 ++- en/usage/platforms/wxoa.mdx | 4 ++- images/platforms/kook.png | Bin 211 -> 338 bytes ja/usage/platforms/dingtalk.mdx | 2 +- ja/usage/platforms/discord.mdx | 4 ++- ja/usage/platforms/kook.mdx | 2 +- ja/usage/platforms/lark.mdx | 2 +- ja/usage/platforms/line.mdx | 4 ++- ja/usage/platforms/slack.mdx | 4 ++- ja/usage/platforms/telegram.mdx | 4 ++- ja/usage/platforms/webpage.mdx | 4 ++- ja/usage/platforms/wxoa.mdx | 4 ++- 20 files changed, 81 insertions(+), 29 deletions(-) diff --git a/docs.json b/docs.json index 8d647db05..60e70a77f 100644 --- a/docs.json +++ b/docs.json @@ -231,19 +231,28 @@ "en/usage/platforms/qq/aiocqhttp/napcat", "en/usage/platforms/qq/aiocqhttp/lagrange", "en/usage/platforms/qq/aiocqhttp/llonebot" - ] + ], + "icon": { + "name": "qq", + "style": "brands" + } }, { "group": "Satori (QQ & Multi-Platform)", "pages": [ "en/usage/platforms/satori/llonebot" - ] + ], + "icon": "robot" }, { "group": "QQ Official Bot", "pages": [ "en/usage/platforms/qq/official_webhook" - ] + ], + "icon": { + "name": "qq", + "style": "brands" + } }, { "group": "WeCom (Enterprise WeChat)", @@ -251,13 +260,18 @@ "en/usage/platforms/wecom/wecom", "en/usage/platforms/wecom/wecomcs", "en/usage/platforms/wecom/wecombot" - ] + ], + "icon": "/images/platforms/wecom.svg" }, { "group": "WeChat", "pages": [ "en/usage/platforms/wechat/weixin" - ] + ], + "icon": { + "name": "weixin", + "style": "brands" + } } ] }, @@ -658,19 +672,28 @@ "ja/usage/platforms/qq/aiocqhttp/napcat", "ja/usage/platforms/qq/aiocqhttp/lagrange", "ja/usage/platforms/qq/aiocqhttp/llonebot" - ] + ], + "icon": { + "name": "qq", + "style": "brands" + } }, { "group": "Satori(QQ等マルチプラットフォーム)", "pages": [ "ja/usage/platforms/satori/llonebot" - ] + ], + "icon": "robot" }, { "group": "QQ 公式ボット", "pages": [ "ja/usage/platforms/qq/official_webhook" - ] + ], + "icon": { + "name": "qq", + "style": "brands" + } }, { "group": "WeCom(企業微信)", @@ -678,13 +701,18 @@ "ja/usage/platforms/wecom/wecom", "ja/usage/platforms/wecom/wecomcs", "ja/usage/platforms/wecom/wecombot" - ] + ], + "icon": "/images/platforms/wecom.svg" }, { "group": "WeChat", "pages": [ "ja/usage/platforms/wechat/weixin" - ] + ], + "icon": { + "name": "weixin", + "style": "brands" + } } ] }, @@ -813,4 +841,4 @@ "metadata": { "google-site-verification": "LBNmWbXCAXdoqrbwg5Gep-xzQ7u7lJHSdpR49N3Ttgg" } -} \ No newline at end of file +} diff --git a/en/usage/platforms/dingtalk.mdx b/en/usage/platforms/dingtalk.mdx index 30b8896be..419f78844 100644 --- a/en/usage/platforms/dingtalk.mdx +++ b/en/usage/platforms/dingtalk.mdx @@ -1,7 +1,7 @@ --- title: "Deploy DingTalk Bot" +icon: "/images/platforms/dingtalk.svg" --- - Deploy LangBot to DingTalk. ## One-Click Setup (Recommended) diff --git a/en/usage/platforms/discord.mdx b/en/usage/platforms/discord.mdx index 937f9c64c..f56f10289 100644 --- a/en/usage/platforms/discord.mdx +++ b/en/usage/platforms/discord.mdx @@ -1,7 +1,9 @@ --- title: "Connect to Discord Bot" +icon: + name: "discord" + style: "brands" --- - ## Create Bot Go to the [Discord Developer Portal](https://discord.com/developers/applications), log in, and create an application. diff --git a/en/usage/platforms/kook.mdx b/en/usage/platforms/kook.mdx index 7cff45542..1b5c8d38f 100644 --- a/en/usage/platforms/kook.mdx +++ b/en/usage/platforms/kook.mdx @@ -1,7 +1,7 @@ --- title: "Integrating KOOK Bot" +icon: "/images/platforms/kook.png" --- - ## Create a Bot Visit the [KOOK Developer Center](https://developer.kookapp.cn/), log in and access the console. diff --git a/en/usage/platforms/lark.mdx b/en/usage/platforms/lark.mdx index 6b024f4e2..1893ed4eb 100644 --- a/en/usage/platforms/lark.mdx +++ b/en/usage/platforms/lark.mdx @@ -1,7 +1,7 @@ --- title: "Connect to Feishu Bot" +icon: "/images/platforms/lark.svg" --- - ## One-Click Setup (Recommended) LangBot supports one-click Feishu app creation with automatic credential filling — no manual copy-paste needed. diff --git a/en/usage/platforms/line.mdx b/en/usage/platforms/line.mdx index 398cc5da4..21711dc1c 100644 --- a/en/usage/platforms/line.mdx +++ b/en/usage/platforms/line.mdx @@ -1,7 +1,9 @@ --- title: "Integrating LINE Bot" +icon: + name: "line" + style: "brands" --- - This article explains how to connect LangBot with the LINE platform to implement LINE bot functionality. ## Creating a LINE Bot diff --git a/en/usage/platforms/slack.mdx b/en/usage/platforms/slack.mdx index 1b04ff5e6..24e85138c 100644 --- a/en/usage/platforms/slack.mdx +++ b/en/usage/platforms/slack.mdx @@ -1,7 +1,9 @@ --- title: "Connect to Slack Bot" +icon: + name: "slack" + style: "brands" --- - ## Create Bot Go to the [Slack App Platform](https://api.slack.com/apps). diff --git a/en/usage/platforms/telegram.mdx b/en/usage/platforms/telegram.mdx index 093de63ef..67628817c 100644 --- a/en/usage/platforms/telegram.mdx +++ b/en/usage/platforms/telegram.mdx @@ -1,7 +1,9 @@ --- title: "Connect to Telegram Bot" +icon: + name: "telegram" + style: "brands" --- - ## Create Bot Go to the [Telegram Bot Creation Page](https://t.me/botfather), follow the prompts, and create a bot. diff --git a/en/usage/platforms/webpage.mdx b/en/usage/platforms/webpage.mdx index 15d5a70aa..338f4860c 100644 --- a/en/usage/platforms/webpage.mdx +++ b/en/usage/platforms/webpage.mdx @@ -1,7 +1,9 @@ --- title: "Web Page Bot" +icon: + name: "globe" + style: "solid" --- - Embed a LangBot chat widget into any website with a single script tag. ## Create Bot diff --git a/en/usage/platforms/wxoa.mdx b/en/usage/platforms/wxoa.mdx index 3af8a0aee..115c07788 100644 --- a/en/usage/platforms/wxoa.mdx +++ b/en/usage/platforms/wxoa.mdx @@ -1,7 +1,9 @@ --- title: "Deploy WeChat Official Account Bot" +icon: + name: "weixin" + style: "brands" --- - Deploy WeChat Official Account bot to connect with LangBot. ## LangBot WeChat Official Account Integration Modes diff --git a/images/platforms/kook.png b/images/platforms/kook.png index 108ccd45c9159533be4c81c1b844893c6037ee32..ae3ab41cff54b27e442fa074cfbf2cd0d1fc0cc2 100644 GIT binary patch delta 312 zcmV-80muH+0n!4HBYy!INklP91_3-G5?@sVabFW2rN$24hr8 z2WS%BD~#p+*X*&kCiETP-89NG7`=IfJD`{BD1%W_J_NUQnJqVlRM1|bz1L~C0GhzR zHCZ1vM>2OnR!c_*pl0A{_7DruI%u>ASyx>~jMN!WG4QH~sMsQ-Pj8LTD{vQL0j@aF z|7r6d{*a!}TQLh>fwL3n@!ahe!xy01B?@r$feZiu000004CD()gs5BIy(3}(0000< KMNUMnLSTaOkBA}w literal 211 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=vpiiKLn`LHz2GQ#K!M?a!GZlO zbsP?lCQLjo#k%)g?K|_joR