From 9bcbb2abe8e2be1f79240038c8d514ebce427bcd Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 22 Jan 2026 18:31:20 +0800 Subject: [PATCH 1/2] try to add an AI chat bot to the site --- docusaurus.config.ts | 54 +++++++++++++++++++++++++------------------- package-lock.json | 10 ++++++++ package.json | 1 + 3 files changed, 42 insertions(+), 23 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 272959bc7e8..a3faa40559d 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -13,7 +13,7 @@ const config: Config = { // onBrokenLinks: "throw", onBrokenLinks: "ignore", onBrokenMarkdownLinks: "warn", - + plugins: [ "docusaurus-plugin-sass", 'docusaurus-plugin-matomo', @@ -21,6 +21,14 @@ const config: Config = { "@easyops-cn/docusaurus-search-local", { hashed: true, indexPages: true, language: ["en"] }, ], + [ + 'docusaurus-biel', + { + project: 'tn36ske74m', + headerTitle: 'Biel.ai chatbot', + version: 'latest', + } + ], ], presets: [ @@ -86,20 +94,20 @@ const config: Config = { { position: "right", label: "Docs", - items : [ - { - label: "Next", - to: "docs/next", - }, - { - label: "2.x (Current)", - to: "docs/", - }, - { - label: "1.x", - to: "docs/1.x", - }, - ], + items: [ + { + label: "Next", + to: "docs/next", + }, + { + label: "2.x (Current)", + to: "docs/", + }, + { + label: "1.x", + to: "docs/1.x", + }, + ], }, { label: "Community", @@ -133,7 +141,7 @@ const config: Config = { label: "Security Policy", to: "/community/security", }, - ], + ], }, { label: "Contribute", @@ -163,7 +171,7 @@ const config: Config = { label: "Doc Contribution Guide", to: "/contribute/doc", }, - ], + ], }, { to: "/blog", label: "Blog", position: "right" }, { @@ -191,16 +199,16 @@ const config: Config = { label: "Setup the Apache account", to: "/team/setup-apache-email-account", }, - ], + ], }, { label: "Resources", position: "right", items: [ { - label: "Wiki", - to: "https://github.com/apache/cloudberry/wiki", - }, + label: "Wiki", + to: "https://github.com/apache/cloudberry/wiki", + }, { label: "Roadmap", to: "https://github.com/apache/cloudberry/discussions/868", @@ -212,10 +220,10 @@ const config: Config = { { label: "Support", to: "/support", - }, + }, ], }, - { + { label: 'ASF', position: 'right', items: [ diff --git a/package-lock.json b/package-lock.json index b1cd3e522c2..ab0c310f276 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "ahooks": "^3.7.10", "clsx": "^2.0.0", "dayjs": "^1.11.10", + "docusaurus-biel": "^1.0.10", "docusaurus-plugin-matomo": "^0.0.8", "docusaurus-plugin-sass": "^0.2.5", "lodash-es": "^4.17.21", @@ -7032,6 +7033,15 @@ "node": ">=6" } }, + "node_modules/docusaurus-biel": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/docusaurus-biel/-/docusaurus-biel-1.0.10.tgz", + "integrity": "sha512-tbsto129HqRI2UkrE6vqMiE9B8+A/rR7ZunYJonGDioOfZfanjqwrxUjpzmv73Qwl6MVhqkfULhwXtfrCVIUYA==", + "license": "MIT", + "peerDependencies": { + "@docusaurus/core": "3.x" + } + }, "node_modules/docusaurus-plugin-matomo": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/docusaurus-plugin-matomo/-/docusaurus-plugin-matomo-0.0.8.tgz", diff --git a/package.json b/package.json index 3ad6e7254d7..c027033f42f 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "ahooks": "^3.7.10", "clsx": "^2.0.0", "dayjs": "^1.11.10", + "docusaurus-biel": "^1.0.10", "docusaurus-plugin-matomo": "^0.0.8", "docusaurus-plugin-sass": "^0.2.5", "lodash-es": "^4.17.21", From 360b9fc9946a1de670e21a6c575fe5d26a4b4ef1 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Jan 2026 15:25:49 +0800 Subject: [PATCH 2/2] Update docusaurus.config.ts --- docusaurus.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index a3faa40559d..f68476ca27b 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -25,7 +25,7 @@ const config: Config = { 'docusaurus-biel', { project: 'tn36ske74m', - headerTitle: 'Biel.ai chatbot', + headerTitle: 'AI Chatbot', version: 'latest', } ],