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

zhongjiajie pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit eaa75d6516152e125b53773c23c64978f5585f88
Author: Jiajie Zhong <[email protected]>
AuthorDate: Thu May 19 16:30:53 2022 +0800

    [doc] change document structure (#10124)
    
    This patch change the structure and make it more sense
    
    * Remove dev doc in tab Docs, and for now you could only see it in
      history-version page
    * Move PyDolphinScheduler from tab DOCS to sidebar and combine with open
      API
    * Move installation after Functions
    * Move data quality after HOW-TOS
    
    (cherry picked from commit 2eff5ee10ce8073a5e648066d4a5e26933035c08)
---
 docs/configs/docsdev.js | 128 +++++++++++++++++++++++++++---------------------
 docs/configs/site.js    |  10 ----
 2 files changed, 73 insertions(+), 65 deletions(-)

diff --git a/docs/configs/docsdev.js b/docs/configs/docsdev.js
index 71ec133d3a..cbebe0a81a 100644
--- a/docs/configs/docsdev.js
+++ b/docs/configs/docsdev.js
@@ -50,27 +50,6 @@ export default {
                     },
                 ],
             },
-            {
-                title: 'Installation',
-                children: [
-                    {
-                        title: 'Standalone Deployment',
-                        link: 
'/en-us/docs/3.0.0/user_doc/guide/installation/standalone.html',
-                    },
-                    {
-                        title: 'Pseudo Cluster Deployment',
-                        link: 
'/en-us/docs/3.0.0/user_doc/guide/installation/pseudo-cluster.html',
-                    },
-                    {
-                        title: 'Cluster Deployment',
-                        link: 
'/en-us/docs/3.0.0/user_doc/guide/installation/cluster.html',
-                    },
-                    {
-                        title: 'Kubernetes Deployment',
-                        link: 
'/en-us/docs/3.0.0/user_doc/guide/installation/kubernetes.html',
-                    },
-                ],
-            },
             {
                 title: 'Introduction to Functions',
                 children: [
@@ -255,10 +234,6 @@ export default {
                             },
                         ],
                     },
-                    {
-                        title: 'Data Quality',
-                        link: 
'/en-us/docs/3.0.0/user_doc/guide/data-quality.html',
-                    },
                     {
                         title: 'Resource',
                         children: [
@@ -298,8 +273,8 @@ export default {
                         ],
                     },
                     {
-                        title: 'Open API',
-                        link: '/en-us/docs/3.0.0/user_doc/guide/open-api.html',
+                        title: 'Data Quality',
+                        link: 
'/en-us/docs/3.0.0/user_doc/guide/data-quality.html',
                     },
                     {
                         title: 'Flink',
@@ -315,6 +290,27 @@ export default {
                     },
                 ],
             },
+            {
+                title: 'Installation',
+                children: [
+                    {
+                        title: 'Standalone Deployment',
+                        link: 
'/en-us/docs/dev/user_doc/guide/installation/standalone.html',
+                    },
+                    {
+                        title: 'Pseudo Cluster Deployment',
+                        link: 
'/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html',
+                    },
+                    {
+                        title: 'Cluster Deployment',
+                        link: 
'/en-us/docs/dev/user_doc/guide/installation/cluster.html',
+                    },
+                    {
+                        title: 'Kubernetes Deployment',
+                        link: 
'/en-us/docs/dev/user_doc/guide/installation/kubernetes.html',
+                    },
+                ],
+            },
             {
                 title: 'Architecture Guide',
                 children: [
@@ -344,6 +340,19 @@ export default {
                     },
                 ],
             },
+            {
+                title: 'API',
+                children: [
+                    {
+                        title: 'Open API',
+                        link: '/en-us/docs/dev/user_doc/guide/open-api.html',
+                    },
+                    {
+                        title: 'PyDolphinScheduler',
+                        link: '/python/index.html',
+                    },
+                ],
+            },
             {
                 title: 'FAQ',
                 children: [
@@ -397,27 +406,6 @@ export default {
                     },
                 ],
             },
-            {
-                title: '部署指南',
-                children: [
-                    {
-                        title: '单机部署(Standalone)',
-                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/installation/standalone.html',
-                    },
-                    {
-                        title: '伪集群部署(Pseudo-Cluster)',
-                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/installation/pseudo-cluster.html',
-                    },
-                    {
-                        title: '集群部署(Cluster)',
-                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/installation/cluster.html',
-                    },
-                    {
-                        title: 'Kubernetes部署(Kubernetes)',
-                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/installation/kubernetes.html',
-                    },
-                ],
-            },
             {
                 title: '功能介绍',
                 children: [
@@ -602,10 +590,6 @@ export default {
                             },
                         ],
                     },
-                    {
-                        title: '数据质量',
-                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/data-quality.html',
-                    },
                     {
                         title: '资源中心',
                         children: [
@@ -636,7 +620,7 @@ export default {
                         link: '/zh-cn/docs/3.0.0/user_doc/guide/security.html',
                     },
                     {
-                        title: '常见操作',
+                        title: '常用指引',
                         children: [
                             {
                                 title: '通用设置',
@@ -645,8 +629,8 @@ export default {
                         ],
                     },
                     {
-                        title: 'API调用',
-                        link: '/zh-cn/docs/3.0.0/user_doc/guide/open-api.html',
+                        title: '数据质量',
+                        link: 
'/zh-cn/docs/3.0.0/user_doc/guide/data-quality.html',
                     },
                     {
                         title: 'Flink调用',
@@ -662,6 +646,27 @@ export default {
                     },
                 ],
             },
+            {
+                title: '部署指南',
+                children: [
+                    {
+                        title: '单机部署(Standalone)',
+                        link: 
'/zh-cn/docs/dev/user_doc/guide/installation/standalone.html',
+                    },
+                    {
+                        title: '伪集群部署(Pseudo-Cluster)',
+                        link: 
'/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html',
+                    },
+                    {
+                        title: '集群部署(Cluster)',
+                        link: 
'/zh-cn/docs/dev/user_doc/guide/installation/cluster.html',
+                    },
+                    {
+                        title: 'Kubernetes部署(Kubernetes)',
+                        link: 
'/zh-cn/docs/dev/user_doc/guide/installation/kubernetes.html',
+                    },
+                ],
+            },
             {
                 title: '架构设计',
                 children: [
@@ -691,6 +696,19 @@ export default {
                     },
                 ],
             },
+            {
+                title: 'API',
+                children: [
+                    {
+                        title: 'API调用',
+                        link: '/zh-cn/docs/dev/user_doc/guide/open-api.html',
+                    },
+                    {
+                        title: 'PyDolphinScheduler',
+                        link: '/python/index.html',
+                    },
+                ],
+            },
             {
                 title: 'FAQ',
                 children: [
diff --git a/docs/configs/site.js b/docs/configs/site.js
index a279ac01fe..982a32aa04 100644
--- a/docs/configs/site.js
+++ b/docs/configs/site.js
@@ -58,16 +58,6 @@ export default {
             text: 'Older Versions',
             link: '/en-us/docs/release/history-versions.html',
           },
-          {
-            key: 'pythonAPI',
-            text: 'PyDolphinScheduler',
-            link: '/python/index.html',
-          },
-          {
-            key: 'docsdev',
-            text: 'dev',
-            link: '/en-us/docs/dev/user_doc/about/introduction.html',
-          },
         ],
       },
       {

Reply via email to