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

chia7712 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c7b20f78f [YUNIKORN-2274] Improve document version routing in 
YuniKorn documentation (#384)
4c7b20f78f is described below

commit 4c7b20f78fba318a0b4985dee006d300f81d36e9
Author: Yu-Lin Chen <[email protected]>
AuthorDate: Fri Jan 12 21:27:54 2024 +0800

    [YUNIKORN-2274] Improve document version routing in YuniKorn documentation 
(#384)
    
    Closes: #384
    
    Signed-off-by: Chia-Ping Tsai <[email protected]>
---
 docusaurus.config.js | 20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 3b7f5ae44e..cf03092a2a 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -76,7 +76,7 @@ module.exports = {
       items: [
         {
           to: 'docs/',
-          label: 'Quick Start',
+          label: 'Docs',
         },
         {
           to: 'community/roadmap',
@@ -154,24 +154,8 @@ module.exports = {
         },
         {
           label: 'Docs',
-          to: 'docs',
+          type: 'docsVersionDropdown',
           position: 'right',
-          items: [
-            {
-              label: 'Master',
-              to: 'docs/next/',
-            },
-            {
-              label: versions[0],
-              to: 'docs/',
-              // required for correct style on current version menu item
-              activeBaseRegex: `docs/(?!${versions.join('|')}|next)`,
-            },
-            ...versions.slice(1).map((version) => ({
-              label: version,
-              to: `docs/${version}/`,
-            })),
-          ],
         },
         {
           type: 'localeDropdown',


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to