site.js 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. *
  19. */
  20. // 全局的一些配置
  21. export default {
  22. rootPath: '',
  23. port: 8080,
  24. domain: 'dolphinscheduler.apache.org',
  25. copyToDist: ['asset', 'img', 'file', '.asf.yaml', 'sitemap.xml', '.nojekyll', '.htaccess', 'googled0df7b96f277a143.html'],
  26. docsLatest: '3.2.0',
  27. defaultSearch: 'google', // default search engine
  28. defaultLanguage: 'en-us',
  29. 'en-us': {
  30. banner: {
  31. text: '🤔 Have queries regarding Apache DolphinScheduler, Join Slack channel to disscuss them ',
  32. link: 'https://s.apache.org/dolphinscheduler-slack'
  33. },
  34. pageMenu: [
  35. {
  36. key: 'home',
  37. text: 'HOME',
  38. link: '/en-us/index.html',
  39. },
  40. {
  41. key: 'docs',
  42. text: 'DOCS',
  43. link: '/en-us/docs/latest/user_doc/about/introduction.html',
  44. children: [
  45. {
  46. key: 'docs0',
  47. text: 'latest(3.2.0)',
  48. link: '/en-us/docs/latest/user_doc/about/introduction.html',
  49. },
  50. {
  51. key: 'docs1',
  52. text: '3.1.9',
  53. link: '/en-us/docs/3.1.9/user_doc/about/introduction.html',
  54. },
  55. {
  56. key: 'docs2',
  57. text: '2.0.7',
  58. link: '/en-us/docs/2.0.7/user_doc/guide/quick-start.html',
  59. },
  60. {
  61. key: 'docsHistory',
  62. text: 'Older Versions',
  63. link: '/en-us/docs/release/history-versions.html',
  64. }
  65. ],
  66. },
  67. {
  68. key: 'download',
  69. text: 'DOWNLOAD',
  70. link: '/en-us/download/download.html',
  71. },
  72. { key: 'blog',
  73. text: 'BLOG',
  74. link: '/en-us/blog/index.html',
  75. },
  76. {
  77. key: 'community',
  78. text: 'COMMUNITY',
  79. link: '/en-us/community/community.html',
  80. },
  81. {
  82. key: 'ASF',
  83. text: 'ASF',
  84. target: '_blank',
  85. link: 'https://www.apache.org/',
  86. children: [
  87. {
  88. key: 'Foundation',
  89. text: 'Foundation',
  90. target: '_blank',
  91. link: 'https://www.apache.org/',
  92. },
  93. {
  94. key: 'License',
  95. text: 'License',
  96. target: '_blank',
  97. link: 'https://www.apache.org/licenses/',
  98. },
  99. {
  100. key: 'Events',
  101. text: 'Events',
  102. target: '_blank',
  103. link: 'https://www.apache.org/events/current-event',
  104. },
  105. {
  106. key: 'Security',
  107. text: 'Security',
  108. target: '_blank',
  109. link: 'https://www.apache.org/security/',
  110. },
  111. {
  112. key: 'Sponsorship',
  113. text: 'Sponsorship',
  114. target: '_blank',
  115. link: 'https://www.apache.org/foundation/sponsorship.html',
  116. },
  117. {
  118. key: 'Thanks',
  119. text: 'Thanks',
  120. target: '_blank',
  121. link: 'https://www.apache.org/foundation/thanks.html',
  122. },
  123. ],
  124. },
  125. {
  126. key: 'user',
  127. text: 'USER',
  128. link: '/en-us/user/index.html',
  129. },
  130. ],
  131. contact: {
  132. title: 'About us',
  133. content: 'Do you need feedback? Please contact us through the following ways.',
  134. list: [
  135. {
  136. name: 'Slack',
  137. img1: '/img/slack.png',
  138. img2: '/img/slack-selected.png',
  139. link: 'https://s.apache.org/dolphinscheduler-slack',
  140. },
  141. {
  142. name: 'Email List',
  143. img1: '/img/emailgray.png',
  144. img2: '/img/emailblue.png',
  145. link: '/en-us/docs/latest/user_doc/contribute/join/subscribe.html',
  146. },
  147. {
  148. name: 'Twitter',
  149. img1: '/img/twittergray.png',
  150. img2: '/img/twitterblue.png',
  151. link: 'https://twitter.com/dolphinschedule',
  152. },
  153. ],
  154. },
  155. copyright: 'Copyright © 2019-2022 The Apache Software Foundation. Apache DolphinScheduler, DolphinScheduler, and its feather logo are trademarks of The Apache Software Foundation.',
  156. },
  157. 'zh-cn': {
  158. banner: {
  159. text: '🤔 有关于 Apache DolphinScheduler 的疑问,加入 Slack 频道来讨论他们 ',
  160. link: 'https://s.apache.org/dolphinscheduler-slack'
  161. },
  162. pageMenu: [
  163. {
  164. key: 'home',
  165. text: '首页',
  166. link: '/zh-cn/index.html',
  167. },
  168. {
  169. key: 'docs',
  170. text: '文档',
  171. link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
  172. children: [
  173. {
  174. key: 'docs0',
  175. text: '最新版本latest(3.2.0)',
  176. link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
  177. },
  178. {
  179. key: 'docs1',
  180. text: '3.1.9',
  181. link: '/zh-cn/docs/3.1.9/user_doc/about/introduction.html',
  182. },
  183. {
  184. key: 'docs2',
  185. text: '2.0.7',
  186. link: '/zh-cn/docs/2.0.7/user_doc/guide/quick-start.html',
  187. },
  188. {
  189. key: 'docsHistory',
  190. text: '历史版本',
  191. link: '/zh-cn/docs/release/history-versions.html',
  192. }
  193. ],
  194. },
  195. {
  196. key: 'download',
  197. text: '下载',
  198. link: '/zh-cn/download/download.html',
  199. },
  200. {
  201. key: 'blog',
  202. text: '博客',
  203. link: '/zh-cn/blog/index.html',
  204. },
  205. {
  206. key: 'community',
  207. text: '社区',
  208. link: '/zh-cn/community/community.html',
  209. },
  210. {
  211. key: 'ASF',
  212. text: 'ASF',
  213. target: '_blank',
  214. link: 'https://www.apache.org/',
  215. children: [
  216. {
  217. key: 'Foundation',
  218. text: 'Foundation',
  219. target: '_blank',
  220. link: 'https://www.apache.org/',
  221. },
  222. {
  223. key: 'License',
  224. text: 'License',
  225. target: '_blank',
  226. link: 'https://www.apache.org/licenses/',
  227. },
  228. {
  229. key: 'Events',
  230. text: 'Events',
  231. target: '_blank',
  232. link: 'https://www.apache.org/events/current-event',
  233. },
  234. {
  235. key: 'Security',
  236. text: 'Security',
  237. target: '_blank',
  238. link: 'https://www.apache.org/security/',
  239. },
  240. {
  241. key: 'Sponsorship',
  242. text: 'Sponsorship',
  243. target: '_blank',
  244. link: 'https://www.apache.org/foundation/sponsorship.html',
  245. },
  246. {
  247. key: 'Thanks',
  248. text: 'Thanks',
  249. target: '_blank',
  250. link: 'https://www.apache.org/foundation/thanks.html',
  251. },
  252. ],
  253. },
  254. {
  255. key: 'user',
  256. text: '用户',
  257. // link: '',
  258. link: '/zh-cn/user/index.html',
  259. },
  260. ],
  261. contact: {
  262. title: '联系我们',
  263. content: '有问题需要反馈?请通过以下方式联系我们。',
  264. list: [
  265. {
  266. name: 'Slack',
  267. img1: '/img/slack.png',
  268. img2: '/img/slack-selected.png',
  269. link: 'https://s.apache.org/dolphinscheduler-slack',
  270. },
  271. {
  272. name: '邮件列表',
  273. img1: '/img/emailgray.png',
  274. img2: '/img/emailblue.png',
  275. link: '/zh-cn/docs/latest/user_doc/contribute/join/subscribe.html',
  276. },
  277. {
  278. name: 'Twitter',
  279. img1: '/img/twittergray.png',
  280. img2: '/img/twitterblue.png',
  281. link: 'https://twitter.com/dolphinschedule',
  282. },
  283. ],
  284. },
  285. copyright: 'Copyright © 2019-2022 The Apache Software Foundation. Apache DolphinScheduler, DolphinScheduler, and its feather logo are trademarks of The Apache Software Foundation.',
  286. },
  287. };