Unverified Commit 962fe4fd authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Doc] Modify doc i18n and Added some docs (#2864)

* Spotless Apply * modify doc label to i18n and added some docs and faq * modify faq position * change repo url * fix jump url * fix * fix * fix --------- Co-authored-by: 's avatarZzm0809 <Zzm0809@users.noreply.github.com>
parent f5ce9bb7
{ {
"label": "安装部署", "label": "deploy_guide",
"position": 2 "position": 2
} }
{ {
"label": "开发者指南", "label": "developer_guide",
"position": 12 "position": 12
} }
{ {
"label": "参与贡献", "label": "contribution",
"position": 1 "position": 1
} }
---
sidebar_position: 7
position: 7
id: code_format
title: 代码格式化
---
:::info 简介
如果你在 Dinky 基础上进行了二次开发/bugfix/实现了新功能,并打算贡献到社区,基于代码格式化要求,你必须执行格式化代码,满足规范后方可被合并.
但是在 Dinky 1.0.0 之后,格式化插件升级后要求 JDK 环境为 JDK 11,如果你的 JDK 环境为 JDK 8,那么则需要升级 JDK 环境/配置服务端格式化,否则无法使用格式化插件.你的 Pull Request 的代码检查结果将会失败,从而无法被合并
基于上述说明,下面介绍多种方式,如何执行格式化并满足格式化要求.
:::
## 升级 JDK 环境
> 此为单个 JDK 环境的升级
Dinky 1.0.0 之后,全面支持 JDK 11,如果你的 JDK 环境为 JDK 8,那么可以选择升级 JDK 环境,具体 JDK11 的安装方式自行搜索即可.
## JDK 环境并存
如果你需要有多个 JDK 环境,那么你可以通过以下方式来实现 JDK 环境并存:
1. 下载 JDK 11 并安装.不需要配置环境变量,只需要在 IDEA 中配置即可.前提是你所需的 JDK 主版本非 JDK11, 如果你想要设置 JDK 11 为默认,那么可以自行配置环境变量.
2. 在 IDEA 打开的 Dinky 工程中配置 JDK 11,并勾选 Maven Profile 中的 `jdk11`,并刷新 Maven Profile,使其重新加载.
3. 找到 Maven => Dinky 根下的 插件 => 展开 spotless, 双击 spotless:apply ,等待格式化完成.
## 无需多 JDK 环境
如果你只需要单个 JDK 环境,并且本地的 JDK 环境版本为 JDK 8, 不想升级 JDK 环境,那么你可以通过以下方式来实现:
> 注意: 此操作需要在你提交本地代码到你的仓库前进行.
1. 登录你的 GitHub 账号,转到 https://github.com/settings/tokens
2. 点击下图路径, 创建 token,并指定名称为 `FORMAT`,请注意大小写,创建完成之后请牢记该 Token 值, 后续将会用到
![create_token](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/contribution/code_format/create_token.png)
3. 打开你的 GitHub 中 Fork 的 Dinky 仓库 -> Settings -> Secrets and variables -> Actions
![secrets_url](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/contribution/code_format/secrets_url.png)
4. 点击 Secrets Tag -> New repository secret -> 名称指定为 `TOKEN` , 粘贴你在第一步中创建的 token 值, 点击 Add secret
5. 点击 Variables -> New repository variable -> 名称指定为 `FORMAT` , 值为`true`, 点击 Add variable
![variables_url](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/contribution/code_format/variables_url.png)
6. 基于此方式,可以一劳永逸,无需在 IDEA 中手动执行格式化,并无需安装 JDK 11 环境. 只需要正常修改/新增代码 -> 提交到你的 Dinky 仓库即可,服务端会自动执行格式化,并将结果反馈在 下图所示的 Actions 界面中.
![show_actions](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/contribution/code_format/show_actions.png)
:::tip 提示
以上为几种如何实现格式化的方案, 请根据你的实际情况选择合适的方式.推荐使用 [无需多 JDK 环境](#无需多-jdk-环境) 的方式,因为它更加方便,而且不会影响你的本地环境.
:::
\ No newline at end of file
...@@ -9,7 +9,7 @@ title: 提交代码须知 ...@@ -9,7 +9,7 @@ title: 提交代码须知
# 提交代码 # 提交代码
* 首先从远端仓库 *https://github.com/DataLinkDC/dlink.git* fork 一份代码到自己的仓库中 * 首先从远端仓库 *https://github.com/DataLinkDC/dinky.git* fork 一份代码到自己的仓库中
* 远端仓库中分支: * 远端仓库中分支:
* dev 日常开发分支: 日常 dev 开发分支,新提交的代码都可以 pull request 到这个分支上。 * dev 日常开发分支: 日常 dev 开发分支,新提交的代码都可以 pull request 到这个分支上。
...@@ -19,13 +19,13 @@ title: 提交代码须知 ...@@ -19,13 +19,13 @@ title: 提交代码须知
* 把自己仓库 clone 到本地 * 把自己仓库 clone 到本地
```sh ```sh
git clone https://github.com/DataLinkDC/dlink.git git clone https://github.com/DataLinkDC/dinky.git
``` ```
* 添加远端仓库地址,命名为 upstream * 添加远端仓库地址,命名为 upstream
```sh ```sh
git remote add upstream https://github.com/DataLinkDC/dlink.git git remote add upstream https://github.com/DataLinkDC/dinky.git
``` ```
......
--- ---
sidebar_position: 3 sidebar_position: 4
position: 3 position: 4
id: commit_message id: commit_message
title: Commit Message 须知 title: Commit Message 须知
--- ---
......
--- ---
sidebar_position: 4 sidebar_position: 6
position: 4 position: 6
id: how_contribute id: how_contribute
title: 如何贡献 title: 如何贡献
--- ---
...@@ -13,8 +13,8 @@ title: 如何贡献 ...@@ -13,8 +13,8 @@ title: 如何贡献
我们鼓励任何形式的参与社区,如: 我们鼓励任何形式的参与社区,如:
- 将遇到的问题通过 github 上 [issue](https://github.com/DataLinkDC/dlink/issues) 的形式反馈出来 - 将遇到的问题通过 github 上 [issue](https://github.com/DataLinkDC/dinky/issues) 的形式反馈出来
- 回答别人遇到的 [issue](https://github.com/DataLinkDC/dlink/issues) 问题 - 回答别人遇到的 [issue](https://github.com/DataLinkDC/dinky/issues) 问题
- 讨论新 Feature 的实现方案 - 讨论新 Feature 的实现方案
- 帮助完善文档及官网 - 帮助完善文档及官网
- 帮助项目增加测试用例 - 帮助项目增加测试用例
......
...@@ -51,7 +51,7 @@ Issue 是引出一个 Feature 或 Bug 等的重要步骤,在单个 Issue 中 ...@@ -51,7 +51,7 @@ Issue 是引出一个 Feature 或 Bug 等的重要步骤,在单个 Issue 中
### Issue 内容模板 ### Issue 内容模板
[Issue 模板](https://github.com/DataLinkDC/dlink/tree/dev/.github/ISSUE_TEMPLATE) [Issue 模板](https://github.com/DataLinkDC/dinky/tree/dev/.github/ISSUE_TEMPLATE)
### Bug 类 Issue ### Bug 类 Issue
......
...@@ -43,7 +43,7 @@ title: 本地调试 ...@@ -43,7 +43,7 @@ title: 本地调试
```shell ```shell
mkdir workspace mkdir workspace
cd workspace cd workspace
git clone https://github.com/DataLinkDC/dlink.git git clone https://github.com/DataLinkDC/dinky.git
#或者 #或者
git clone git://github.com/DataLinkDC/dlink.git git clone git://github.com/DataLinkDC/dlink.git
``` ```
...@@ -51,7 +51,7 @@ git clone git://github.com/DataLinkDC/dlink.git ...@@ -51,7 +51,7 @@ git clone git://github.com/DataLinkDC/dlink.git
### 导入 Dinky ### 导入 Dinky
1. 启动 IDEA 并选择 Open。 1. 启动 IDEA 并选择 Open。
2. 选择已克隆的 Dlink 存储库的根文件夹。 2. 选择已克隆的 Dinky 存储库的根文件夹。
3. 等待项目加载完成。 3. 等待项目加载完成。
4. 设置 JDK 1.8 和 Maven 3.6.0。 4. 设置 JDK 1.8 和 Maven 3.6.0。
...@@ -90,7 +90,7 @@ npm run dev ...@@ -90,7 +90,7 @@ npm run dev
由于目前 Dinky 各个模块未发布到 Maven 中央仓库,所以需要先进行 Install 编译。从而在本地仓库中生成相应的依赖。 由于目前 Dinky 各个模块未发布到 Maven 中央仓库,所以需要先进行 Install 编译。从而在本地仓库中生成相应的依赖。
如果你是第一次编译 Dinky,那么请勾选以下 Maven Profile,然后双击下图中的`生命周期 -> Install`进行编译。 如果你是第一次编译 Dinky,那么请勾选以下 Maven Profile,然后双击下图中的`生命周期 -> Install`进行编译。如果在 Install/Package 过程中报错代码格式化问题,请参考 [代码格式化](contribution/code_format)章节
::: :::
![localdebug_profile](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/local_debug/localdebug_profile.png) ![localdebug_profile](http://pic.dinky.org.cn/dinky/docs/zh-CN/developer_guide/local_debug/localdebug_profile.png)
...@@ -129,7 +129,7 @@ npm run dev ...@@ -129,7 +129,7 @@ npm run dev
Dinky开发环境配置有两种模式,分别是 provided 环境和 compile 环境 Dinky开发环境配置有两种模式,分别是 provided 环境和 compile 环境
- provided:即上述 Profile 中的 `prod` ,此环境适合打包部署,或者二次开发后打包部署 - provided:即上述 Profile 中的 `prod` ,此环境适合打包部署,或者二次开发后打包部署
- compile: 即上述 Profile 中的 `dev`,此环境适合二次开发或者熟悉源码,此模式不需要额外安装Flink,通过Flink自带的local模式变可调试开发 - compile: 即上述 Profile 中的 `dev`,此环境适合二次开发或者熟悉源码,此模式不需要额外安装Flink,通过Flink自带的local模式便可调试开发
### 本地调试 Profile ### 本地调试 Profile
...@@ -220,3 +220,7 @@ spring: ...@@ -220,3 +220,7 @@ spring:
如果你在 Dinky 的基础上进行了二次开发,并有意向将代码贡献给 Dinky,请参考 [代码贡献](./contribution/how_contribute) 文档。 如果你在 Dinky 的基础上进行了二次开发,并有意向将代码贡献给 Dinky,请参考 [代码贡献](./contribution/how_contribute) 文档。
::: :::
## 常见问题
请参考 [本地调试 FAQ](../faq#本地调试FAQ) 文档。
\ No newline at end of file
{ {
"label": "扩展", "label": "extend",
"position": 13 "position": 13
} }
{ {
"label": "扩展语法", "label": "extended_grammar",
"position": 2 "position": 2
} }
{ {
"label": "功能扩展", "label": "function_extension",
"position": 2 "position": 2
} }
...@@ -15,7 +15,7 @@ Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: na ...@@ -15,7 +15,7 @@ Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: na
``` ```
提供 3 种方式解决这个问题: 提供 3 种方式解决这个问题:
- 升级 Dinky 至 0.6.2 及后续版本。详见:[https://github.com/DataLinkDC/dlink/issues/310](https://github.com/DataLinkDC/dlink/issues/310) - 升级 Dinky 至 0.6.2 及后续版本。详见:[https://github.com/DataLinkDC/dinky/issues/310](https://github.com/DataLinkDC/dinky/issues/310)
- 修改 `/etc/profile`,添加 HADOOP_HOME 环境变量 - 修改 `/etc/profile`,添加 HADOOP_HOME 环境变量
```shell ```shell
...@@ -176,3 +176,41 @@ Cannot map checkpoint/savepoint state for operator xxx to the new program, becau ...@@ -176,3 +176,41 @@ Cannot map checkpoint/savepoint state for operator xxx to the new program, becau
``` ```
添加参数 execution.savepoint.ignore-unclaimed-state:true,跳过无法还原的算子 添加参数 execution.savepoint.ignore-unclaimed-state:true,跳过无法还原的算子
## 本地调试FAQ
Q1: 为什么不支持除了 Java8 和 Java11 以外的其他版本呢?
> A1: 因为 Flink 目前仅支持 Java8 和 Java11。
---
Q2: 为什么 Maven Profile 切换了不生效呢?? 提交任务时还是报各种依赖问题,Profile 像是不生效呢?????
> A2-1: 因为你没刷新 Maven Profile,导致不生效
> A2-2: 因为虽然你刷新了 Maven Profile, 没重启 Dinky 服务(不要问为什么需要重启,这是一个开发人员的基本认知),导致依赖没包含在当前已启动的服务中.
> A2-3: Profile 切的不对,注意灰色的 Profile 选项.请仔细仔细仔细仔细的看看.
> A2-4: 查看你的 IDEA 的版本,不要太旧,尽量保持在 2022.x 以上(别问为什么,上边已经说了)
> A2-5: Profile 切换加载,基于依赖的 `<scope></scope>`标签属性声明 ,如果不懂,自行百度/谷歌/CSDN/StackOverFlow/ChatGPT
---
Q3: 我在 IDEA 中启动 Dinky 后, 前端页面访问不了, 报错找不到页面??????
> A3-1: 可以在执行 Install 阶段勾选 `web` Profile,不然 dinky-admin/src/main/resources/ 下没有静态资源文件目录 `static`.
> A3-2: 可以单独启动前端,参考 [本地调试-启动前端](developer_guide/local_debug#启动前端) 部分
---
Q4: 为什么在 IDEA 中启动 Dinky 后,Profile 也加载了,我用到了一个 connector 仍然报错找不到类?????
> A4-1: Dinky 只加载了 Dinky 在开发中过程中用到的相关 Flink 依赖以及 Flink 的基本环境依赖.如报此类错误,请检查你的 pom.xml 文件,是否包含了 connector 所依赖的 jar 包
> A4-2: 如上述问题未解决,请检查你的 `dinky-flink` 模块下的与你Flink 版本一致的 `pom.xml` 文件,是否包含了 connector 所依赖的 jar 包
{ {
"label": "快速开始", "label": "get_started",
"position": 1 "position": 1
} }
{ {
"label": "SQL 快速入门", "label": "quick_start",
"position": 3 "position": 3
} }
{ {
"label": "Dinky 介绍", "label": "platform_intro",
"position": 0 "position": 0
} }
{ {
"label": "集成实践", "label": "Integration_practice",
"position": 4 "position": 4
} }
{ {
"label": "实践指南", "label": "practical_guide",
"position": 9 "position": 9
} }
{ {
"label": "整库同步实践", "label": "cdcsource_practice",
"position": 1 "position": 1
} }
{ {
"label": "Flink模式提交实践", "label": "run_mode_practice",
"position": 2 "position": 2
} }
{ {
"label": "场景实践", "label": "scenario_practice",
"position": 3 "position": 3
} }
...@@ -44,8 +44,8 @@ title: 致谢 ...@@ -44,8 +44,8 @@ title: 致谢
- Sa-Token 是一款简单易用、功能强大的Java权限认证框架。它提供了一套简单、灵活、高效的权限认证方案,帮助开发者更方便地进行权限认证。Dinky 项目的登录认证功能/权限控制基于 Sa-Token 实现。 - Sa-Token 是一款简单易用、功能强大的Java权限认证框架。它提供了一套简单、灵活、高效的权限认证方案,帮助开发者更方便地进行权限认证。Dinky 项目的登录认证功能/权限控制基于 Sa-Token 实现。
[![JetBrains](http://pic.dinky.org.cn/dinky/docs/zh-CN/thanks/jetbrains.svg)](https://www.jetbrains.com/?from=dlink) [![JetBrains](http://pic.dinky.org.cn/dinky/docs/zh-CN/thanks/jetbrains.svg)](https://www.jetbrains.com/?from=dinky)
此外,特别感谢 [JetBrains](https://www.jetbrains.com/?from=dlink) 提供的免费开源 License 赞助,JetBrains是一家软件开发工具提供商,提供了许多受欢迎的集成开发环境,如 IntelliJ IDEA。他们支持开源社区,为一些开源项目提供免费的开源许可证,以促进软件开发的进步 此外,特别感谢 [JetBrains](https://www.jetbrains.com/?from=dinky) 提供的免费开源 License 赞助,JetBrains是一家软件开发工具提供商,提供了许多受欢迎的集成开发环境,如 IntelliJ IDEA。他们支持开源社区,为一些开源项目提供免费的开源许可证,以促进软件开发的进步
### 贡献者 ### 贡献者
......
{ {
"label": "使用手册", "label": "user_guide",
"position": 10 "position": 10
} }
{ {
"label": "认证中心", "label": "auth_center",
"position": 4 "position": 4
} }
{ {
"label": "运维中心", "label": "devops_center",
"position": 2 "position": 2
} }
{ {
"label": "注册中心", "label": "register_center",
"position": 3 "position": 3
} }
{ {
"label": "告警", "label": "alert",
"position": 3 "position": 3
} }
{ {
"label": "数据开发", "label": "studio",
"position": 1 "position": 1
} }
{ {
"label": "基本介绍", "label": "development_control",
"position": 1 "position": 1
} }
{ {
"label": "配置中心", "label": "system_setting",
"position": 5 "position": 5
} }
{ {
"label": "全局配置", "label": "global_settings",
"position": 1 "position": 1
} }
{ {
"label": "函数开发", "label": "udf_develop",
"position": 10 "position": 10
} }
...@@ -143,7 +143,7 @@ const config = { ...@@ -143,7 +143,7 @@ const config = {
docs: { docs: {
sidebar: { sidebar: {
hideable: true,// 是否隐藏侧边栏 | Whether to hide the sidebar in mobile hideable: true,// 是否隐藏侧边栏 | Whether to hide the sidebar in mobile
autoCollapseCategories: true, // 点击另一个分类时自动折叠当前分类 | Click another category will automatically collapse the current category autoCollapseCategories: false, // 点击另一个分类时自动折叠当前分类 | Click another category will automatically collapse the current category
} }
}, },
...@@ -157,8 +157,7 @@ const config = { ...@@ -157,8 +157,7 @@ const config = {
{ {
to: '/', to: '/',
position: 'left', position: 'left',
label: '主页', label: 'home',
title: '主页',
activeBaseRegex: `^/$`, activeBaseRegex: `^/$`,
}, },
{ {
...@@ -169,46 +168,42 @@ const config = { ...@@ -169,46 +168,42 @@ const config = {
{ {
to: '/download/download', to: '/download/download',
position: 'right', position: 'right',
label: '下载', label: 'download',
activeBaseRegex: `/download/`, activeBaseRegex: `/download/`,
}, },
{ {
label: '开发者指南', label: 'developer_guide',
to: '/docs/next/developer_guide/contribution/how_contribute', to: '/docs/next/developer_guide/contribution/how_contribute',
position: 'right', position: 'right',
items: [ items: [
{ {
label: "如何参与", label: "how_contribute",
to: "/docs/next/developer_guide/contribution/how_contribute", to: "/docs/next/developer_guide/contribution/how_contribute",
}, },
{ {
label: "本地调试", label: "local_debug",
to: "/docs/next/developer_guide/local_debug", to: "/docs/next/developer_guide/local_debug",
}, },
{
label: "远程调试",
to: "/docs/next/developer_guide/remote_debug",
},
], ],
}, },
{ // {
to: '/blog', // to: '/blog',
position: 'right', // position: 'right',
label: '博客', // label: 'bolg',
// activeBaseRegex: `/*/`, // // activeBaseRegex: `/*/`,
}, // },
{ {
type: 'localeDropdown', type: 'localeDropdown',
position: 'right', position: 'right',
}, },
{ {
href: 'https://github.com/DataLinkDC/dinky/issues/884', href: 'https://github.com/DataLinkDC/dinky/issues/884',
label: 'FAQ', label: 'faq',
position: 'right', position: 'right',
}, },
{ {
href: 'https://github.com/orgs/DataLinkDC/projects/1', href: 'https://github.com/orgs/DataLinkDC/projects/1',
label: 'Roadmap', label: 'roadmap',
position: 'right', position: 'right',
}, },
{ {
...@@ -223,40 +218,36 @@ const config = { ...@@ -223,40 +218,36 @@ const config = {
style: 'dark', style: 'dark',
links: [ links: [
{ {
title: 'Docs', title: 'docs',
items: [ items: [
{ {
label: '文档首页', label: 'doc_home',
to: '/docs/next/platform_intro/intro', to: '/docs/next/platform_intro/intro',
}, },
{ {
label: 'Open Api', label: 'openapi',
to: '/docs/next/administrator_guide/studio/openapi', to: '/docs/next/user_guide/studio/openapi',
}, },
], ],
}, },
{ {
title: 'Community', title: 'community',
items: [ items: [
{ {
label: 'Discussions', label: 'issue',
href: 'https://github.com/DataLinkDC/dinky/discussions',
},
{
label: 'Issue',
href: 'https://github.com/DataLinkDC/dinky/issues', href: 'https://github.com/DataLinkDC/dinky/issues',
}, },
{ {
label: 'Pull Request', label: 'pr',
href: 'https://github.com/DataLinkDC/dinky/pulls', href: 'https://github.com/DataLinkDC/dinky/pulls',
}, },
], ],
}, },
{ {
title: 'More', title: 'more',
items: [ items: [
{ {
label: 'GitHub', label: 'github',
href: 'https://github.com/DataLinkDC/dinky', href: 'https://github.com/DataLinkDC/dinky',
} }
], ],
...@@ -298,6 +289,19 @@ const config = { ...@@ -298,6 +289,19 @@ const config = {
{ {
quality: 70, quality: 70,
max: 1030, // 最大缩放图片尺寸。 max: 1030, // 最大缩放图片尺寸。
options: {
// 图片加载失败时显示的图片
// 默认的图片加载方式
// 默认的图片加载方式
loadType: 'default',
// 图片加载失败时显示的图片
errorImg: 'Cannot load image',
// 图片加载失败时显示的图片
errorType: 'default',
// 图片加载失败时显示的图片
errorImgType: 'default',
// 图片加载失败时显示的图片
},
min: 640, // 最小缩放图片尺寸。 如果原始值比这还低,会使用原图尺寸。 min: 640, // 最小缩放图片尺寸。 如果原始值比这还低,会使用原图尺寸。
steps: 2, // 在 min 和 max 之间最多生成的图片数量(包含两端点) steps: 2, // 在 min 和 max 之间最多生成的图片数量(包含两端点)
disableInDev: false, disableInDev: false,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
}, },
"theme.ErrorPageContent.tryAgain": { "theme.ErrorPageContent.tryAgain": {
"message": "Try again", "message": "Try again",
"description": "The label of the button to try again when the page crashed" "description": "The label of the button to try again rendering when the React error boundary captures an error"
}, },
"theme.NotFound.title": { "theme.NotFound.title": {
"message": "Page Not Found", "message": "Page Not Found",
...@@ -311,5 +311,13 @@ ...@@ -311,5 +311,13 @@
"theme.docs.paginator.next": { "theme.docs.paginator.next": {
"message": "Next", "message": "Next",
"description": "The label used to navigate to the next doc" "description": "The label used to navigate to the next doc"
},
"theme.NavBar.navAriaLabel": {
"message": "Main",
"description": "The ARIA label for the main navigation"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "Docs sidebar",
"description": "The ARIA label for the sidebar navigation"
} }
} }
{ {
"version.label": { "version.label": {
"message": "Next", "message": "1.0.0",
"description": "The label for version current" "description": "The label for version current"
} }
} }
{ {
"version.label": { "version.label": {
"message": "Next", "message": "1.0.0",
"description": "The label for version current" "description": "The label for version current"
}, },
"sidebar.tutorialSidebar.category.概念和架构": { "sidebar.tutorialSidebar.category.deploy_guide": {
"message": "概念和架构", "message": "Deploy Guide",
"description": "The label for category 概念和架构 in sidebar tutorialSidebar" "description": "The label for category deploy_guide in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.编译和部署": { "sidebar.tutorialSidebar.category.studio": {
"message": "编译和部署", "message": "Data Studio",
"description": "The label for category 编译和部署 in sidebar tutorialSidebar" "description": "The label for category studio in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.快速入门": { "sidebar.tutorialSidebar.category.development_control": {
"message": "快速入门", "message": "Basic Introduction",
"description": "The label for category 快速入门 in sidebar tutorialSidebar" "description": "The label for category development_control in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.操作指南": { "sidebar.tutorialSidebar.category.devops_center": {
"message": "操作指南", "message": "Devops Center",
"description": "The label for category 操作指南 in sidebar tutorialSidebar" "description": "The label for category devops_center in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.SQL 开发指南": { "sidebar.tutorialSidebar.category.register_center": {
"message": "SQL 开发指南", "message": "Register Center",
"description": "The label for category SQL 开发指南 in sidebar tutorialSidebar" "description": "The label for category register_center in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.DDL 语句": { "sidebar.tutorialSidebar.category.system_setting": {
"message": "DDL 语句", "message": "Setting Center",
"description": "The label for category DDL 语句 in sidebar tutorialSidebar" "description": "The label for category system_setting in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.DML 语句": { "sidebar.tutorialSidebar.category.contribution": {
"message": "DML 语句", "message": "Contribution",
"description": "The label for category DML 语句 in sidebar tutorialSidebar" "description": "The label for category contribution in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.数据集成指南": { "sidebar.tutorialSidebar.category.extend": {
"message": "数据集成指南", "message": "Extend",
"description": "The label for category 数据集成指南 in sidebar tutorialSidebar" "description": "The label for category extend in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.用户手册": { "sidebar.tutorialSidebar.category.function_extension": {
"message": "用户手册", "message": "Function Extension",
"description": "The label for category 用户手册 in sidebar tutorialSidebar" "description": "The label for category function_extension in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.数据开发": { "sidebar.tutorialSidebar.category.practical_guide": {
"message": "数据开发", "message": "Practical Guide",
"description": "The label for category 数据开发 in sidebar tutorialSidebar" "description": "The label for category practical_guide in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.基本介绍": { "sidebar.tutorialSidebar.category.get_started": {
"message": "基本介绍", "message": "Get Started",
"description": "The label for category 基本介绍 in sidebar tutorialSidebar" "description": "The label for category get_started in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.运维中心": { "sidebar.tutorialSidebar.category.platform_intro": {
"message": "运维中心", "message": "Dinky Intro",
"description": "The label for category 运维中心 in sidebar tutorialSidebar" "description": "The label for category platform_intro in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.注册中心": { "sidebar.tutorialSidebar.category.quick_start": {
"message": "注册中心", "message": "SQL Quick Start",
"description": "The label for category 注册中心 in sidebar tutorialSidebar" "description": "The label for category quick_start in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.配置中心": { "sidebar.tutorialSidebar.category.cdcsource_practice": {
"message": "配置中心", "message": "CDCSource Practice",
"description": "The label for category 配置中心 in sidebar tutorialSidebar" "description": "The label for category cdcsource_practice in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category. Connector": { "sidebar.tutorialSidebar.category.run_mode_practice": {
"message": " Connector", "message": "Flink Mode Submission Practice",
"description": "The label for category Connector in sidebar tutorialSidebar" "description": "The label for category run_mode_practice in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.开发者指南": { "sidebar.tutorialSidebar.category.scenario_practice": {
"message": "开发者指南", "message": "Scenario Practice",
"description": "The label for category 开发者指南 in sidebar tutorialSidebar" "description": "The label for category scenario_practice in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.参与贡献": { "sidebar.tutorialSidebar.category.Integration_practice": {
"message": "参与贡献", "message": "Integration Practice",
"description": "The label for category 参与贡献 in sidebar tutorialSidebar" "description": "The label for category Integration_practice in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.扩展": { "sidebar.tutorialSidebar.category.user_guide": {
"message": "扩展", "message": "Manual",
"description": "The label for category 扩展 in sidebar tutorialSidebar" "description": "The label for category user_guide in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.功能扩展": { "sidebar.tutorialSidebar.category.alert": {
"message": "功能扩展", "message": "Alert",
"description": "The label for category 功能扩展 in sidebar tutorialSidebar" "description": "The label for category alert in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.实践指南": { "sidebar.tutorialSidebar.category.auth_center": {
"message": "实践指南", "message": "Auth Center",
"description": "The label for category 实践指南 in sidebar tutorialSidebar" "description": "The label for category auth_center in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.UDF 开发": { "sidebar.tutorialSidebar.category.global_settings": {
"message": "UDF 开发", "message": "Global Config",
"description": "The label for category UDF 开发 in sidebar tutorialSidebar" "description": "The label for category global_settings in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.快速使用": { "sidebar.tutorialSidebar.category.udf_develop": {
"message": "快速使用", "message": "UDFFunction Develop",
"description": "The label for category 快速使用 in sidebar tutorialSidebar" "description": "The label for category udf_develop in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.平台介绍": {
"message": "平台介绍",
"description": "The label for category 平台介绍 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.快速开始": {
"message": "快速开始",
"description": "The label for category 快速开始 in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.Quick Start": { "sidebar.tutorialSidebar.category.developer_guide": {
"message": "Quick Start", "message": "Developer Guide",
"description": "The label for category Quick Start in sidebar tutorialSidebar" "description": "The label for category developer_guide in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.k8s 集成手册": { "sidebar.tutorialSidebar.category.extended_grammar": {
"message": "k8s 集成手册", "message": "Extended Grammar",
"description": "The label for category k8s 集成手册 in sidebar tutorialSidebar" "description": "The label for category extended_grammar in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.部署指南": { "sidebar.tutorialSidebar.category.quick_use": {
"message": "部署指南", "message": "Quick Use",
"description": "The label for category 部署指南 in sidebar tutorialSidebar" "description": "The label for category Quick Use in sidebar tutorialSidebar"
}, },
"sidebar.tutorialSidebar.category.Flink SQL 开发指南": { "sidebar.tutorialSidebar.category.快速使用": {
"message": "Flink SQL 开发指南", "message": "快速使用",
"description": "The label for category Flink SQL 开发指南 in sidebar tutorialSidebar" "description": "The label for category 快速使用 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.语法增强(扩展语法)": {
"message": "语法增强(扩展语法)",
"description": "The label for category 语法增强(扩展语法) in sidebar tutorialSidebar"
} }
} }
{ {
"link.title.Docs": { "link.title.docs": {
"message": "Docs", "message": "Docs",
"description": "The title of the footer links column with title=Docs in the footer" "description": "The title of the footer links column with title=docs in the footer"
}, },
"link.title.Community": { "link.title.community": {
"message": "Community", "message": "Community",
"description": "The title of the footer links column with title=Community in the footer" "description": "The title of the footer links column with title=community in the footer"
}, },
"link.title.More": { "link.title.more": {
"message": "More", "message": "More",
"description": "The title of the footer links column with title=More in the footer" "description": "The title of the footer links column with title=more in the footer"
}, },
"link.item.label.文档首页": { "link.item.label.doc_home": {
"message": "文档首页", "message": "Doc Home",
"description": "The label of footer link with label=文档首页 linking to /docs/next/platform_intro/intro" "description": "The label of footer link with label=doc_home linking to /docs/next/platform_intro/intro"
}, },
"link.item.label.Open Api": { "link.item.label.openapi": {
"message": "Open Api", "message": "Open Api",
"description": "The label of footer link with label=Open Api linking to /docs/next/administrator_guide/studio/openapi" "description": "The label of footer link with label=openapi linking to /docs/next/user_guide/studio/openapi"
}, },
"link.item.label.Discussions": { "link.item.label.issue": {
"message": "Discussions",
"description": "The label of footer link with label=Discussions linking to https://github.com/DataLinkDC/dlink/discussions"
},
"link.item.label.Issue": {
"message": "Issue", "message": "Issue",
"description": "The label of footer link with label=Issue linking to https://github.com/DataLinkDC/dlink/issues" "description": "The label of footer link with label=issue linking to https://github.com/DataLinkDC/dinky/issues"
}, },
"link.item.label.Pull Request": { "link.item.label.pr": {
"message": "Pull Request", "message": "Pull Request",
"description": "The label of footer link with label=Pull Request linking to https://github.com/DataLinkDC/dlink/pulls" "description": "The label of footer link with label=pr linking to https://github.com/DataLinkDC/dinky/pulls"
}, },
"link.item.label.GitHub": { "link.item.label.github": {
"message": "GitHub", "message": "GitHub",
"description": "The label of footer link with label=GitHub linking to https://github.com/DataLinkDC/dlink" "description": "The label of footer link with label=github linking to https://github.com/DataLinkDC/dinky"
}, },
"copyright": { "copyright": {
"message": "Copyright © 2022 Dinky, Inc. DataLinkDC.<br/><a href=\"https://beian.miit.gov.cn\" target=\"_blank\">鲁ICP备20001630号-2</a>", "message": "Copyright © 2022 Dinky, Inc. DataLinkDC.<br/><a href=\"https://beian.miit.gov.cn\" target=\"_blank\">鲁ICP备20001630号-2</a>",
"description": "The footer copyright" "description": "The footer copyright"
},
"logo.alt": {
"message": "Dinky",
"description": "The alt text of footer logo"
} }
} }
...@@ -3,44 +3,40 @@ ...@@ -3,44 +3,40 @@
"message": "Dinky", "message": "Dinky",
"description": "The title in the navbar" "description": "The title in the navbar"
}, },
"item.label.主页": { "item.label.home": {
"message": "主页", "message": "Home",
"description": "Navbar item with label 主页" "description": "Navbar item with label home"
}, },
"item.label.下载": { "item.label.download": {
"message": "下载", "message": "Download",
"description": "Navbar item with label 下载" "description": "Navbar item with label download"
}, },
"item.label.开发者指南": { "item.label.developer_guide": {
"message": "开发者指南", "message": "Developer Guide",
"description": "Navbar item with label 开发者指南" "description": "Navbar item with label developer_guide"
}, },
"item.label.FAQ": { "item.label.faq": {
"message": "FAQ", "message": "FAQ",
"description": "Navbar item with label FAQ" "description": "Navbar item with label faq"
}, },
"item.label.GitHub": { "item.label.github": {
"message": "GitHub", "message": "GitHub",
"description": "Navbar item with label GitHub" "description": "Navbar item with label GitHub"
}, },
"item.label.RoadMap": { "item.label.how_contribute": {
"message": "RoadMap", "message": "How to Contribute",
"description": "Navbar item with label GitHub" "description": "Navbar item with label how_contribute"
},
"item.label.如何参与": {
"message": "如何参与",
"description": "Navbar item with label 如何参与"
},
"item.label.本地调试": {
"message": "本地调试",
"description": "Navbar item with label 本地调试"
}, },
"item.label.远程调试": { "item.label.local_debug": {
"message": "远程调试", "message": "Local Debug",
"description": "Navbar item with label 远程调试" "description": "Navbar item with label local_debug"
}, },
"item.label.Roadmap": { "item.label.roadmap": {
"message": "Roadmap", "message": "Roadmap",
"description": "Navbar item with label Roadmap" "description": "Navbar item with label roadmap"
},
"logo.alt": {
"message": "Dinky",
"description": "The alt text of navbar logo"
} }
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
}, },
"theme.ErrorPageContent.tryAgain": { "theme.ErrorPageContent.tryAgain": {
"message": " 再试一次 ", "message": " 再试一次 ",
"description": "The label of the button to try again when the page crashed" "description": "The label of the button to try again rendering when the React error boundary captures an error"
}, },
"theme.NotFound.title": { "theme.NotFound.title": {
"message": "找不到页面", "message": "找不到页面",
...@@ -307,5 +307,13 @@ ...@@ -307,5 +307,13 @@
"theme.IdealImageMessage.error": { "theme.IdealImageMessage.error": {
"message": "出现错误,点击重试", "message": "出现错误,点击重试",
"description": "When the image fails to load for unknown error" "description": "When the image fails to load for unknown error"
},
"theme.NavBar.navAriaLabel": {
"message": "主导航",
"description": "The ARIA label for the main navigation"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "文档侧边栏",
"description": "The ARIA label for the sidebar navigation"
} }
} }
{ {
"version.label": { "version.label": {
"message": "Next", "message": "1.0.0",
"description": "The label for version current" "description": "The label for version current"
} }
} }
{ {
"link.title.Docs": { "link.title.docs": {
"message": "Docs", "message": "文档",
"description": "The title of the footer links column with title=Docs in the footer" "description": "The title of the footer links column with title=docs in the footer"
}, },
"link.title.Community": { "link.title.community": {
"message": "Community", "message": "社区",
"description": "The title of the footer links column with title=Community in the footer" "description": "The title of the footer links column with title=community in the footer"
}, },
"link.title.More": { "link.title.more": {
"message": "More", "message": "更多",
"description": "The title of the footer links column with title=More in the footer" "description": "The title of the footer links column with title=more in the footer"
}, },
"link.item.label.文档首页": { "link.item.label.doc_home": {
"message": "文档首页", "message": "文档首页",
"description": "The label of footer link with label=文档首页 linking to /docs/next/platform_intro/intro" "description": "The label of footer link with label=doc_home linking to /docs/next/platform_intro/intro"
}, },
"link.item.label.Open Api": { "link.item.label.openapi": {
"message": "Open Api", "message": "Open Api",
"description": "The label of footer link with label=Open Api linking to /docs/next/administrator_guide/studio/openapi" "description": "The label of footer link with label=openapi linking to /docs/next/user_guide/studio/openapi"
}, },
"link.item.label.Discussions": { "link.item.label.issue": {
"message": "Discussions",
"description": "The label of footer link with label=Discussions linking to https://github.com/DataLinkDC/dlink/discussions"
},
"link.item.label.Issue": {
"message": "Issue", "message": "Issue",
"description": "The label of footer link with label=Issue linking to https://github.com/DataLinkDC/dlink/issues" "description": "The label of footer link with label=issue linking to https://github.com/DataLinkDC/dinky/issues"
}, },
"link.item.label.Pull Request": { "link.item.label.pr": {
"message": "Pull Request", "message": "Pull Request",
"description": "The label of footer link with label=Pull Request linking to https://github.com/DataLinkDC/dlink/pulls" "description": "The label of footer link with label=pr linking to https://github.com/DataLinkDC/dinky/pulls"
}, },
"link.item.label.GitHub": { "link.item.label.github": {
"message": "GitHub", "message": "GitHub",
"description": "The label of footer link with label=GitHub linking to https://github.com/DataLinkDC/dlink" "description": "The label of footer link with label=github linking to https://github.com/DataLinkDC/dinky"
}, },
"copyright": { "copyright": {
"message": "Copyright © 2022 Dinky, Inc. DataLinkDC.<br/><a href=\"https://beian.miit.gov.cn\" target=\"_blank\">鲁ICP备20001630号-2</a>", "message": "Copyright © 2022 Dinky, Inc. DataLinkDC.<br/><a href=\"https://beian.miit.gov.cn\" target=\"_blank\">鲁ICP备20001630号-2</a>",
"description": "The footer copyright" "description": "The footer copyright"
}, },
"link.item.label.博客": { "logo.alt": {
"message": "博客", "message": "Dinky",
"description": "The label of footer link with label=最新动态 linking to /blog" "description": "The alt text of footer logo"
} }
} }
...@@ -3,31 +3,27 @@ ...@@ -3,31 +3,27 @@
"message": "Dinky", "message": "Dinky",
"description": "The title in the navbar" "description": "The title in the navbar"
}, },
"item.label.主页": { "item.label.home": {
"message": "主页", "message": "主页",
"description": "Navbar item with label 主页" "description": "Navbar item with label 主页"
}, },
"item.label.文档": { "item.label.doc": {
"message": "文档", "message": "文档",
"description": "Navbar item with label 文档" "description": "Navbar item with label 文档"
}, },
"item.label.下载": { "item.label.download": {
"message": "下载", "message": "下载",
"description": "Navbar item with label 下载" "description": "Navbar item with label 下载"
}, },
"item.label.开发者指南": { "item.label.developer_guide": {
"message": "开发者指南", "message": "开发者指南",
"description": "Navbar item with label 开发者指南" "description": "Navbar item with label 开发者指南"
}, },
"item.label.GitHub": { "item.label.github": {
"message": "GitHub", "message": "GitHub",
"description": "Navbar item with label GitHub" "description": "Navbar item with label GitHub"
}, },
"item.label.RoadMap": { "item.label.next": {
"message": "RoadMap",
"description": "Navbar item with label GitHub"
},
"item.label.Next": {
"message": "Next", "message": "Next",
"description": "Navbar item with label Next" "description": "Navbar item with label Next"
}, },
...@@ -43,36 +39,28 @@ ...@@ -43,36 +39,28 @@
"message": "All Versions", "message": "All Versions",
"description": "Navbar item with label All Versions" "description": "Navbar item with label All Versions"
}, },
"item.label.如何参与": { "item.label.how_contribute": {
"message": "如何参与", "message": "如何参与",
"description": "Navbar item with label 如何参与" "description": "Navbar item with label 如何参与"
}, },
"item.label.本地调试": { "item.label.local_debug": {
"message": "本地调试", "message": "本地调试",
"description": "Navbar item with label 本地调试" "description": "Navbar item with label 本地调试"
}, },
"item.label.远程调试": {
"message": "远程调试",
"description": "Navbar item with label 远程调试"
},
"item.label.debug": {
"message": "debug",
"description": "Navbar item with label debug"
},
"item.label.博客": {
"message": "博客",
"description": "Navbar item with label 博客"
},
"item.label.0.6": { "item.label.0.6": {
"message": "0.6", "message": "0.6",
"description": "Navbar item with label 0.6" "description": "Navbar item with label 0.6"
}, },
"item.label.FAQ": { "item.label.faq": {
"message": "FAQ", "message": "常见问题",
"description": "Navbar item with label FAQ" "description": "Navbar item with label 常见问题"
},
"item.label.roadmap": {
"message": "未来规划",
"description": "Navbar item with label 未来规划"
}, },
"item.label.Roadmap": { "logo.alt": {
"message": "Roadmap", "message": "Dinky",
"description": "Navbar item with label Roadmap" "description": "The alt text of navbar logo"
} }
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"swizzle": "docusaurus swizzle", "swizzle": "docusaurus swizzle",
"serve": "docusaurus serve", "serve": "docusaurus serve",
"write-translations": "docusaurus write-translations --locale en && docusaurus write-translations --locale zh", "write-translations": "docusaurus write-translations --locale en && docusaurus write-translations --locale zh",
"write-heading-ids": "docusaurus write-heading-ids" "write-heading-ids": "docusaurus write-heading-ids --overwrite"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^2.2.0", "@docusaurus/core": "^2.2.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment