You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by pi...@apache.org on 2022/08/23 04:18:09 UTC

[submarine] branch master updated: SUBMARINE-1303. Add Chinese website link

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

pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new 93990b9e SUBMARINE-1303. Add Chinese website link
93990b9e is described below

commit 93990b9edeceb54889ffc5f36626fc035eb28eb0
Author: cdmikechen <cd...@hotmail.com>
AuthorDate: Sun Aug 21 13:50:15 2022 +0800

    SUBMARINE-1303. Add Chinese website link
    
    ### What is this PR for?
    Add locale dropdown for Chinese link https://submarine.apache.org/zh-cn/
    
    ### What type of PR is it?
    Documentation
    
    ### Todos
    * [x] - Add locale dropdown
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-1303
    
    ### How should this be tested?
    No
    
    ### Screenshots (if appropriate)
    ![image](https://user-images.githubusercontent.com/12069428/184351583-7ad13a8e-937e-4b4e-ab31-a4834ce3b7de.png)
    
    ### Questions:
    * Do the license files need updating? No
    * Are there breaking changes for older versions? No
    * Does this need new documentation? No
    
    Author: cdmikechen <cd...@hotmail.com>
    
    Signed-off-by: Kevin <pi...@apache.org>
    
    Closes #986 from cdmikechen/SUBMARINE-1303 and squashes the following commits:
    
    ff579ccf [cdmikechen] format comment
    389a05ca [cdmikechen] Add locale dropdown for chinese link
---
 website/docusaurus.config.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 074abb39..ea18739b 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -65,7 +65,11 @@ module.exports = {
           label: 'Download',
           position: 'left'
         },
-          // right
+        // right
+        {
+          type: 'localeDropdown',
+          position: 'right',
+        },
         {
           type: 'docsVersionDropdown',
           dropdownItemsAfter: [{to: '/versions', label: 'All versions'}],


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org