Browse Source

[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 2eff5ee10c)
3.0.0/version-upgrade
Jiajie Zhong 3 years ago
parent
commit
eaa75d6516
  1. 128
      docs/configs/docsdev.js
  2. 10
      docs/configs/site.js

128
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: [

10
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',
},
],
},
{

Loading…
Cancel
Save