This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git
The following commit(s) were added to refs/heads/new-official-website by this
push:
new ca6189d5 Update docusaurus.config.js (#192)
ca6189d5 is described below
commit ca6189d5d049823bcbf6408575e7f7f32bb86a9e
Author: Run Wang <[email protected]>
AuthorDate: Sun Aug 21 13:13:55 2022 +0800
Update docusaurus.config.js (#192)
---
docusaurus.config.js | 38 +++++++++++++++++++++++++-------------
1 file changed, 25 insertions(+), 13 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 054b98ff..0d0bbd2a 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -148,19 +148,31 @@ const darkCodeTheme =
require("prism-react-renderer/themes/dracula");
type: 'localeDropdown',
position: 'right',
},
- {
- type: "docsVersionDropdown",
- position: "right",
- // label: "版本",
- // position: "right",
- // items: [
- // { to: "/docs/", label: "4.x" },
- // { to: "/docs/5.0/介绍/02quickstart", label: "5.0" },
+ // {
+ // type: "docsVersionDropdown",
+ // position: "right",
+ // // label: "版本",
+ // // position: "right",
+ // // items: [
+ // // { to: "/docs/", label: "4.x" },
+ // // { to: "/docs/5.0/介绍/02quickstart", label: "5.0" },
- // // ... more items
- // ],
- },
- { to: "/docs/", label: "文档", position: "right" },
+ // // // ... more items
+ // // ],
+ // },
+ // { to: "/docs/", label: "文档", position: "right" },
+ {
+ type: "dropdown",
+ label: "文档",
+ position: "right",
+ items: [
+ // { to: "/info", label: "项目信息" },
+ { to: "/docs/", label: "4.x" },
+ { to: "/docs/5.0/", label: "5.0" },
+
+ // ... more items
+ ],
+ },
{ to: "/download", label: "下载", position: "right" },
{
type: "dropdown",
@@ -338,7 +350,7 @@ const darkCodeTheme =
require("prism-react-renderer/themes/dracula");
logo: {
alt: 'Meta Open Source Logo',
src: 'img/Apache_RocketMQ_logo.svg.png',
- href: 'https://opensource.fb.com',
+ href: 'https://rocketmq.apache.org/',
},
copyright: `Copyright © ${new Date().getFullYear()} The Apache
Software Foundation. Licensed under the Apache License, Version 2.0.`,
},