Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 31 additions & 23 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,22 @@ const config: Config = {
// onBrokenLinks: "throw",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",

plugins: [
"docusaurus-plugin-sass",
'docusaurus-plugin-matomo',
[
"@easyops-cn/docusaurus-search-local",
{ hashed: true, indexPages: true, language: ["en"] },
],
[
'docusaurus-biel',
{
project: 'tn36ske74m',
headerTitle: 'AI Chatbot',
version: 'latest',
}
],
],

presets: [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -133,7 +141,7 @@ const config: Config = {
label: "Security Policy",
to: "/community/security",
},
],
],
},
{
label: "Contribute",
Expand Down Expand Up @@ -163,7 +171,7 @@ const config: Config = {
label: "Doc Contribution Guide",
to: "/contribute/doc",
},
],
],
},
{ to: "/blog", label: "Blog", position: "right" },
{
Expand Down Expand Up @@ -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",
Expand All @@ -212,10 +220,10 @@ const config: Config = {
{
label: "Support",
to: "/support",
},
},
],
},
{
{
label: 'ASF',
position: 'right',
items: [
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down