DolphinScheduler/docs/configs/site.js

405 lines
11 KiB
Java
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
// 全局的一些配置
export default {
rootPath: '',
port: 8080,
domain: 'dolphinscheduler.apache.org',
copyToDist: ['asset', 'img', 'file', '.asf.yaml', 'sitemap.xml', '.nojekyll', '.htaccess', 'googled0df7b96f277a143.html'],
docsLatest: '3.0.0',
defaultSearch: 'google', // default search engine
defaultLanguage: 'en-us',
'en-us': {
banner: {
text: '🤔 Have queries regarding Apache DolphinScheduler, Join Slack channel to disscuss them ',
link: 'https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw'
},
pageMenu: [
{
key: 'home',
text: 'HOME',
link: '/en-us/index.html',
},
{
key: 'docs',
text: 'DOCS',
link: '/en-us/docs/latest/user_doc/about/introduction.html',
children: [
{
key: 'docs0',
text: 'latest(3.0.0-alpha)',
link: '/en-us/docs/latest/user_doc/about/introduction.html',
},
{
key: 'docs1',
text: '1.3.9',
link: '/en-us/docs/1.3.9/user_doc/quick-start.html',
},
{
key: 'docsHistory',
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',
},
],
},
{
key: 'download',
text: 'DOWNLOAD',
link: '/en-us/download/download.html',
},
{ key: 'blog',
text: 'BLOG',
link: '/en-us/blog/index.html',
},
{
key: 'development',
text: 'DEVELOPMENT',
link: '/en-us/development/development-environment-setup.html',
},
{
key: 'community',
text: 'COMMUNITY',
link: '/en-us/community/team.html',
},
{
key: 'ASF',
text: 'ASF',
target: '_blank',
link: 'https://www.apache.org/',
children: [
{
key: 'Foundation',
text: 'Foundation',
target: '_blank',
link: 'https://www.apache.org/',
},
{
key: 'License',
text: 'License',
target: '_blank',
link: 'https://www.apache.org/licenses/',
},
{
key: 'Events',
text: 'Events',
target: '_blank',
link: 'https://www.apache.org/events/current-event',
},
{
key: 'Security',
text: 'Security',
target: '_blank',
link: 'https://www.apache.org/security/',
},
{
key: 'Sponsorship',
text: 'Sponsorship',
target: '_blank',
link: 'https://www.apache.org/foundation/sponsorship.html',
},
{
key: 'Thanks',
text: 'Thanks',
target: '_blank',
link: 'https://www.apache.org/foundation/thanks.html',
},
],
},
{
key: 'user',
text: 'USER',
link: '/en-us/user/index.html',
},
],
documentation: {
title: 'Documentation',
list: [
{
text: 'Overview',
link: '/en-us/development/architecture-design.html',
},
{
text: 'Quick start',
link: '/en-us/docs/latest/user_doc/guide/quick-start.html',
},
{
text: 'Developer guide',
link: '/en-us/development/development-environment-setup.html',
},
],
},
asf: {
title: 'ASF',
list: [
{
text: 'Foundation',
link: 'http://www.apache.org',
},
{
text: 'License',
link: 'http://www.apache.org/licenses/',
},
{
text: 'Events',
link: 'http://www.apache.org/events/current-event',
},
{
text: 'Sponsorship',
link: 'http://www.apache.org/foundation/sponsorship.html',
},
{
text: 'Thanks',
link: 'http://www.apache.org/foundation/thanks.html',
},
],
},
contact: {
title: 'About us',
content: 'Do you need feedback? Please contact us through the following ways.',
list: [
{
name: 'Email List',
img1: '/img/emailgray.png',
img2: '/img/emailblue.png',
link: '/en-us/community/development/subscribe.html',
},
{
name: 'Twitter',
img1: '/img/twittergray.png',
img2: '/img/twitterblue.png',
link: 'https://twitter.com/dolphinschedule',
},
{
name: 'Stack Overflow',
img1: '/img/stackoverflow.png',
img2: '/img/stackoverflow-selected.png',
link: 'https://stackoverflow.com/questions/tagged/apache-dolphinscheduler',
},
{
name: 'Slack',
img1: '/img/slack.png',
img2: '/img/slack-selected.png',
link: 'https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw',
},
],
},
copyright: 'Copyright © 2019-2021 The Apache Software Foundation. Apache DolphinScheduler, DolphinScheduler, and its feather logo are trademarks of The Apache Software Foundation.',
},
'zh-cn': {
banner: {
text: '🤔 Apache DolphinScheduler Slack ',
link: 'https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw'
},
pageMenu: [
{
key: 'home',
text: '',
link: '/zh-cn/index.html',
},
{
key: 'docs',
text: '',
link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
children: [
{
key: 'docs0',
text: 'latest(3.0.0-alpha)',
link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
},
{
key: 'docs1',
text: '1.3.9',
link: '/zh-cn/docs/1.3.9/user_doc/quick-start.html',
},
{
key: 'docsHistory',
text: '',
link: '/zh-cn/docs/release/history-versions.html',
},
{
key: 'pythonAPI',
text: 'PyDolphinScheduler',
link: '/python/index.html',
},
{
key: 'docsdev',
text: 'dev',
link: '/zh-cn/docs/dev/user_doc/about/introduction.html',
},
],
},
{
key: 'download',
text: '',
link: '/zh-cn/download/download.html',
},
{
key: 'blog',
text: '',
link: '/zh-cn/blog/index.html',
},
{
key: 'development',
text: '',
link: '/zh-cn/development/development-environment-setup.html',
},
{
key: 'community',
text: '',
link: '/zh-cn/community/team.html',
},
{
key: 'ASF',
text: 'ASF',
target: '_blank',
link: 'https://www.apache.org/',
children: [
{
key: 'Foundation',
text: 'Foundation',
target: '_blank',
link: 'https://www.apache.org/',
},
{
key: 'License',
text: 'License',
target: '_blank',
link: 'https://www.apache.org/licenses/',
},
{
key: 'Events',
text: 'Events',
target: '_blank',
link: 'https://www.apache.org/events/current-event',
},
{
key: 'Security',
text: 'Security',
target: '_blank',
link: 'https://www.apache.org/security/',
},
{
key: 'Sponsorship',
text: 'Sponsorship',
target: '_blank',
link: 'https://www.apache.org/foundation/sponsorship.html',
},
{
key: 'Thanks',
text: 'Thanks',
target: '_blank',
link: 'https://www.apache.org/foundation/thanks.html',
},
],
},
{
key: 'user',
text: '',
// link: '',
link: '/zh-cn/user/index.html',
},
],
documentation: {
title: '',
list: [
{
text: '',
link: '/zh-cn/development/architecture-design.html',
},
{
text: '',
link: '/zh-cn/docs/latest/user_doc/guide/quick-start.html',
},
{
text: '',
link: '/zh-cn/development/development-environment-setup.html',
},
],
},
asf: {
title: 'ASF',
list: [
{
text: '',
link: 'http://www.apache.org',
},
{
text: '',
link: 'http://www.apache.org/licenses/',
},
{
text: '',
link: 'http://www.apache.org/events/current-event',
},
{
text: '',
link: 'http://www.apache.org/foundation/sponsorship.html',
},
{
text: '',
link: 'http://www.apache.org/foundation/thanks.html',
},
],
},
contact: {
title: '',
content: '',
list: [
{
name: '',
img1: '/img/emailgray.png',
img2: '/img/emailblue.png',
link: '/zh-cn/community/development/subscribe.html',
},
{
name: 'Twitter',
img1: '/img/twittergray.png',
img2: '/img/twitterblue.png',
link: 'https://twitter.com/dolphinschedule',
},
{
name: 'Stack Overflow',
img1: '/img/stackoverflow.png',
img2: '/img/stackoverflow-selected.png',
link: 'https://stackoverflow.com/questions/tagged/apache-dolphinscheduler',
},
{
name: 'Slack',
img1: '/img/slack.png',
img2: '/img/slack-selected.png',
link: 'https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw',
},
],
},
copyright: 'Copyright © 2019-2021 The Apache Software Foundation. Apache DolphinScheduler, DolphinScheduler, and its feather logo are trademarks of The Apache Software Foundation.',
},
};