You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by fe...@apache.org on 2024/03/07 08:01:18 UTC

(incubator-answer-website) 02/02: update: navbar menu

This is an automated email from the ASF dual-hosted git repository.

fenbox pushed a commit to branch user-guides
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git

commit 6ad7f20ac562859fa107b0e15cdfab496138cadb
Author: fen <f3...@gmail.com>
AuthorDate: Thu Mar 7 16:00:54 2024 +0800

    update: navbar menu
---
 blog/2024-02-20-answer-1.2.5-is-ready/index.md     |  2 +-
 community/about.md                                 |  2 +-
 community/contributing/contributing.md             |  4 +--
 community/support.mdx                              |  2 +-
 docusaurus.config.js                               | 41 +++++++++++++++++++---
 .../2024-02-20-answer-1.2.5-is-ready/index.md      |  2 +-
 6 files changed, 42 insertions(+), 11 deletions(-)

diff --git a/blog/2024-02-20-answer-1.2.5-is-ready/index.md b/blog/2024-02-20-answer-1.2.5-is-ready/index.md
index d390555b..c1408ed7 100644
--- a/blog/2024-02-20-answer-1.2.5-is-ready/index.md
+++ b/blog/2024-02-20-answer-1.2.5-is-ready/index.md
@@ -55,4 +55,4 @@ Small tags are powerful. It’s the thread of the community, sewing similar cont
 Raise your glass to [hgaol](https://github.com/hgaol), [sy-records](https://github.com/sy-records), [hbsciw](https://github.com/hbsciw), and [insistedMarin](https://github.com/insistedMarin) for their time and effort in this release. Shout out to every [translator](https://crowdin.com/project/answer/activity-stream). Special thanks to [lincolhzhou](https://github.com/lincolnzhou) for contribution to plugins. 
 
 ## We’d love to hear from you
-What do you think of the releases? Anything you think it should be added to the roadmap?  What does your Answer look like? We’d love to hear from you about this release or anything else on your mind. Hit us on [X](https://twitter.com/answerdev), [Discord](https://discord.gg/a6PZZbfnFx), [GitHub](https://github.com/apache/incubator-answer), [Meta Answer](https://meta.answer.dev/), or the [mailing list](https://answer.apache.org/community). 
\ No newline at end of file
+What do you think of the releases? Anything you think it should be added to the roadmap?  What does your Answer look like? We’d love to hear from you about this release or anything else on your mind. Hit us on [X](https://twitter.com/answerdev), [Discord](https://discord.gg/a6PZZbfnFx), [GitHub](https://github.com/apache/incubator-answer), [Meta Answer](https://meta.answer.dev/), or the [mailing list](https://answer.apache.org/community/support). 
diff --git a/community/about.md b/community/about.md
index 8d6691c0..336d634e 100644
--- a/community/about.md
+++ b/community/about.md
@@ -11,7 +11,7 @@ Apache Answer aligns with the Apache Way. Based on community philosophy of Apach
 
 ### Users
 
-For Apache Answer users, you can share and communicate with other users in the [community](/community). If you need help, you can refer to our [documentations](/docs) and pick the one that works for you. We encourage everyone to help each other, so when you have an answer to a question while searching, please don't hesitate to respond. We also welcome more users to join our contributor family.
+For Apache Answer users, you can share and communicate with other users in the [community](/community/support). If you need help, you can refer to our [documentations](/docs) and pick the one that works for you. We encourage everyone to help each other, so when you have an answer to a question while searching, please don't hesitate to respond. We also welcome more users to join our contributor family.
 
 ### Contributor
 
diff --git a/community/contributing/contributing.md b/community/contributing/contributing.md
index fb611dfc..597baf0b 100644
--- a/community/contributing/contributing.md
+++ b/community/contributing/contributing.md
@@ -61,7 +61,7 @@ Anyone can contribute to Answer. In addition to contributing code, there are man
 ##### Helping with support
 
 - You can be of great help by helping other users on [Answer Meta](https://meta.answer.dev).
-- Reply and solve the questions in the [Mailing List](/community/#mailing-list).
+- Reply and solve the questions in the [Mailing List](/community/support/#mailing-list).
 
 ##### Promoting Answer
 
@@ -72,7 +72,7 @@ Anyone can contribute to Answer. In addition to contributing code, there are man
 ##### Others
 
 - Got new ideas? All contributions are very welcome.
-- If you think you need help planning your contribution, please [reach us](/community/#others) and let us know you are looking for a bit of help.
+- If you think you need help planning your contribution, please [reach us](/community/support/#others) and let us know you are looking for a bit of help.
 
 ## Development process
 
diff --git a/community/support.mdx b/community/support.mdx
index b0dd2602..5f492886 100644
--- a/community/support.mdx
+++ b/community/support.mdx
@@ -1,5 +1,5 @@
 ---
-slug: /
+slug: /support
 ---
 
 # Support
diff --git a/docusaurus.config.js b/docusaurus.config.js
index ac8cb959..867be5fc 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -111,16 +111,36 @@ const config = {
             to: '/blog',
           },
           {
+            type: 'dropdown',
             label: 'Community',
-            to: '/community',
+            to: 'community/support',
+            items: [
+              {
+                label: 'Support',
+                to: 'community/support',
+              },
+              {
+                label: 'Forum',
+                to: 'https://meta.answer.dev',
+              },
+              {
+                label: 'About',
+                to: 'community/about',
+              },
+              {
+                label: 'Contributing',
+                to: 'community/contributing',
+              },
+              {
+                label: 'Roadmap',
+                to: 'https://github.com/apache/incubator-answer/projects',
+              },
+            ],
           },
-          // {
-          //   label: 'Contact',
-          //   to: '/contact',
-          // },
           {
             type: 'dropdown',
             label: 'ASF',
+            to: 'https://www.apache.org/',
             items: asfLinks.map(link => ({
               label: link.label,
               to: link.to,
@@ -196,6 +216,17 @@ const config = {
         showLastUpdateTime: true,
       },
     ],
+    // [
+    //   '@docusaurus/plugin-client-redirects',
+    //   {
+    //     redirects: [
+    //       {
+    //         to: '/community/support',
+    //         from: ['/contact', '/community'],
+    //       },
+    //     ],
+    //   },
+    // ],
   ],
 };
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-20-answer-1.2.5-is-ready/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-20-answer-1.2.5-is-ready/index.md
index d390555b..27c0e815 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-20-answer-1.2.5-is-ready/index.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-20-answer-1.2.5-is-ready/index.md
@@ -55,4 +55,4 @@ Small tags are powerful. It’s the thread of the community, sewing similar cont
 Raise your glass to [hgaol](https://github.com/hgaol), [sy-records](https://github.com/sy-records), [hbsciw](https://github.com/hbsciw), and [insistedMarin](https://github.com/insistedMarin) for their time and effort in this release. Shout out to every [translator](https://crowdin.com/project/answer/activity-stream). Special thanks to [lincolhzhou](https://github.com/lincolnzhou) for contribution to plugins. 
 
 ## We’d love to hear from you
-What do you think of the releases? Anything you think it should be added to the roadmap?  What does your Answer look like? We’d love to hear from you about this release or anything else on your mind. Hit us on [X](https://twitter.com/answerdev), [Discord](https://discord.gg/a6PZZbfnFx), [GitHub](https://github.com/apache/incubator-answer), [Meta Answer](https://meta.answer.dev/), or the [mailing list](https://answer.apache.org/community). 
\ No newline at end of file
+What do you think of the releases? Anything you think it should be added to the roadmap?  What does your Answer look like? We’d love to hear from you about this release or anything else on your mind. Hit us on [X](https://twitter.com/answerdev), [Discord](https://discord.gg/a6PZZbfnFx), [GitHub](https://github.com/apache/incubator-answer), [Meta Answer](https://meta.answer.dev/), or the [mailing list](https://answer.apache.org/community/support).