This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new 27e1d2a Support docs latest version (#303)
27e1d2a is described below
commit 27e1d2a46c64c075376fa98d6874d3714574b6ce
Author: Shiwen Cheng <[email protected]>
AuthorDate: Mon Mar 1 15:05:08 2021 +0800
Support docs latest version (#303)
* [Feature] Support docs latest version
* Fix all version
* Fix menu link active problem
* Fix mixing jumping problem between old version and latest
* Fix download release version
* Rename docs key and doscConfig
* Rename 'become a committer.md' to 'become-a-committer.md'
---
.babelrc | 0
.docsite | 0
.eslintrc | 0
.nojekyll | 0
README.md | 1 +
...become a committer.md => become-a-committer.md} | 0
community/en-us/development/document.md | 25 ++++------
...become a committer.md => become-a-committer.md} | 0
community/zh-cn/development/document.md | 25 ++++------
community/zh-cn/release.md | 6 +--
development/en-us/architecture-design.md | 2 +-
development/en-us/download.md | 56 ----------------------
development/zh-cn/architecture-design.md | 2 +-
development/zh-cn/download.md | 48 -------------------
docs/en-us/1.2.1/user_doc/architecture-design.md | 2 +-
docs/en-us/1.3.1/user_doc/architecture-design.md | 2 +-
docs/en-us/1.3.3/user_doc/cluster-deployment.md | 4 +-
docs/en-us/1.3.3/user_doc/standalone-deployment.md | 4 +-
docs/en-us/1.3.4/user_doc/cluster-deployment.md | 4 +-
docs/en-us/1.3.4/user_doc/standalone-deployment.md | 4 +-
docs/en-us/1.3.5/user_doc/cluster-deployment.md | 4 +-
docs/en-us/1.3.5/user_doc/standalone-deployment.md | 4 +-
docs/zh-cn/1.2.1/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.2.1/user_doc/standalone-deployment.md | 12 ++---
docs/zh-cn/1.3.1/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.3.2/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.3.3/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.3.3/user_doc/expansion-reduction.md | 4 +-
docs/zh-cn/1.3.4/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.3.4/user_doc/expansion-reduction.md | 4 +-
docs/zh-cn/1.3.5/user_doc/architecture-design.md | 2 +-
docs/zh-cn/1.3.5/user_doc/cluster-deployment.md | 4 +-
docs/zh-cn/1.3.5/user_doc/expansion-reduction.md | 6 +--
docs/zh-cn/1.3.5/user_doc/standalone-deployment.md | 4 +-
docs/zh-cn/1.3.5/user_doc/upgrade.md | 4 +-
package.json | 2 +-
site_config/community.jsx | 12 ++---
site_config/development.js | 8 ----
site_config/docs1-3-2.js | 9 ++++
site_config/docs1-3-3.js | 2 +-
site_config/docs1-3-4.js | 9 ++++
site_config/docs1-3-5.js | 9 ++++
site_config/home.jsx | 6 +--
site_config/site.js | 55 ++++++++++++---------
src/components/header/index.jsx | 33 ++++++++-----
src/components/md2html/index.jsx | 16 ++++++-
src/pages/docs/index.md.jsx | 50 ++++++++++++-------
47 files changed, 201 insertions(+), 253 deletions(-)
diff --git a/.babelrc b/.babelrc
old mode 100755
new mode 100644
diff --git a/.docsite b/.docsite
old mode 100755
new mode 100644
diff --git a/.eslintrc b/.eslintrc
old mode 100755
new mode 100644
diff --git a/.nojekyll b/.nojekyll
old mode 100755
new mode 100644
diff --git a/README.md b/README.md
index 92b2045..696c640 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@ This project keeps all sources used for building up
DolphinScheduler official we
## Prerequisite
DolphinScheduler website is powered by
[docsite](https://github.com/chengshiwen/docsite-ext).
+
Please also make sure your node version is 10+, version lower than 10.x is not
supported yet.
## Build instruction
diff --git a/community/en-us/development/become a committer.md
b/community/en-us/development/become-a-committer.md
similarity index 100%
rename from community/en-us/development/become a committer.md
rename to community/en-us/development/become-a-committer.md
diff --git a/community/en-us/development/document.md
b/community/en-us/development/document.md
index d702676..6d228f0 100644
--- a/community/en-us/development/document.md
+++ b/community/en-us/development/document.md
@@ -2,7 +2,6 @@
Good documentation is critical for any type of software. Any contribution that
can improve the DolphinScheduler documentation is welcome.
-
### Get the document project.
Documentation for the DolphinScheduler project is maintained in a separate
[git repository](https://github.com/apache/incubator-dolphinscheduler-website).
@@ -15,33 +14,27 @@ git clone
https://github.com/<your-github-user-name>/incubator-dolphinscheduler-
### The document environment.
-The DolphinScheduler website is supported by
[docsite](https://github.com/txd-team/docsite)
-
-If your docsite version is below "1.3.3", upgrade to "1.3.3".
+The DolphinScheduler website is supported by
[docsite](https://github.com/chengshiwen/docsite-ext)
-Make sure that your node version is 10.x, docsite does not yet support
versions higher than 10.x.
+Make sure that your node version is 10+, docsite does not yet support versions
higher than 10.x.
### Document build guide.
-1. Run the "npm install docsite-g" installation development tool.
+1. Run `npm install` in the root directory to install the dependencies.
-2. Run "npm i" in the root directory to install the dependencies.
+2. Run `npm run start` in the root directory to start a local server, you will
see the website in 'http://127.0.0.1:8080'.
-3. Running "docsite start" under the root folder starts the local server,
which will allow you to access http://127.0.0.1:8080.
+3. Run `npm run build` to build source code into dist directory.
-4. Run "docsite build" to generate the source code for the document site.
+4. Verify your change locally: `python -m SimpleHTTPServer 8000`, when your
python version is 3 use :`python3 -m http.server 8000` instead.
-5. Verify your changes locally: `python -m SimpleHTTPServer 8000`, when python
is version 3, use: `python3 - m http.server 8000`.
-
-If the latest version of node is installed locally, consider using "nvm" to
allow different versions of node to run on your computer.
+If the latest version of node is installed locally, consider using `nvm` to
allow different versions of `node` to run on your computer.
1. Refer to the [Instructions](http://nvm.sh) to install nvm.
-2. Run “nvm install v10.23.1” to install node v10.
-
-3. Run “nvm use v10.23.1” to switch the current working environment to node
v10.
+2. Run `nvm install v10.23.1` to install node v10.
-4. Run `npm install docsite -g`
+3. Run `nvm use v10.23.1` to switch the current working environment to node
v10.
Now you can run and build the website in your local environment.
diff --git a/community/zh-cn/development/become a committer.md
b/community/zh-cn/development/become-a-committer.md
similarity index 100%
rename from community/zh-cn/development/become a committer.md
rename to community/zh-cn/development/become-a-committer.md
diff --git a/community/zh-cn/development/document.md
b/community/zh-cn/development/document.md
index b059fe5..096a2b4 100644
--- a/community/zh-cn/development/document.md
+++ b/community/zh-cn/development/document.md
@@ -2,7 +2,6 @@
良好的使用文档对任何类型的软件都是至关重要的。欢迎任何可以改进 DolphinScheduler 文档的贡献。
-
### 获取文档项目
DolphinScheduler 项目的文档维护在独立的 [git
仓库](https://github.com/apache/incubator-dolphinscheduler-website)中。
@@ -15,33 +14,27 @@ git clone
https://github.com/<your-github-user-name>/incubator-dolphinscheduler-
### 文档环境
-DolphinScheduler 网站由 [docsite](https://github.com/txd-team/docsite) 提供支持。
-
-如果你的 docsite 版本低于 “1.3.3”,请升级到 “1.3.3”。
+DolphinScheduler 网站由 [docsite](https://github.com/chengshiwen/docsite-ext)
提供支持。
-请确保你的 node 版本是 10.x,docsite 尚不支持高于 10.x 的版本。
+请确保你的 node 版本是 10+,docsite 尚不支持高于 10.x 的版本。
### 文档构建指南
-1. 运行 “npm install docsite -g” 安装开发工具。
+1. 在根目录中运行 `npm install` 以安装依赖项。
-2. 在根目录中运行 “npm i” 以安装依赖项。
+2. 在根目录下运行 `npm run start` 启动本地服务器,其将允许在 http://127.0.0.1:8080。
-3. 在根目录下运行 “docsite start” 启动本地服务器,其将允许在 http://127.0.0.1:8080。
+3. 运行 `npm run build` 可以生成文档网站源代码。
-4. 运行 “docsite build” 可以生成文档网站源代码。
+4. 在本地验证你的更改:`python -m SimpleHTTPServer 8000`,当 python 版本为 3 时,请使用:`python3
-m http.server 8000`。
-5. 在本地验证你的更改:`python -m SimpleHTTPServer 8000`,当 python 版本为 3 时,请使用:`python3
-m http.server 8000`。
-
-如果本地安装了更高版本的 node,可以考虑使用 “nvm” 来允许不同版本的 node 在你的计算机上运行。
+如果本地安装了更高版本的 node,可以考虑使用 `nvm` 来允许不同版本的 `node` 在你的计算机上运行。
1. 参考[说明](http://nvm.sh)安装 nvm
-2. 运行 “nvm install v10.23.1” 安装 node v10
-
-3. 运行 “nvm use v10.23.1” 将当前工作环境切换到 node v10
+2. 运行 `nvm install v10.23.1` 安装 node v10
-4. 运行 “npm install docsite-g“
+3. 运行 `nvm use v10.23.1` 将当前工作环境切换到 node v10
然后你就可以在本地环境运行和建立网站了。
diff --git a/community/zh-cn/release.md b/community/zh-cn/release.md
index ca0687c..c263c6e 100644
--- a/community/zh-cn/release.md
+++ b/community/zh-cn/release.md
@@ -556,8 +556,8 @@ svn mv
https://dist.apache.org/repos/dist/dev/incubator/dolphinscheduler/${RELEA
3. 更新下载页面
```
-https://dolphinscheduler.apache.org/en-us/docs/user_doc/download.html
-https://dolphinscheduler.apache.org/zh-cn/docs/user_doc/download.html
+https://dolphinscheduler.apache.org/en-us/download/download.html
+https://dolphinscheduler.apache.org/zh-cn/download/download.html
```
4.
发送邮件到`[email protected]`和`[email protected]`通知完成版本发布。
@@ -581,7 +581,7 @@ Dolphin Scheduler is a distributed and easy-to-expand
visual DAG workflow schedu
dedicated to solving the complex dependencies in data processing, making the
scheduling system out of the box for data processing.
-Download Links:
http://dolphinscheduler.apache.org/en-us/docs/user_doc/download.html
+Download Links:
https://dolphinscheduler.apache.org/en-us/download/download.html
Release Notes:
https://github.com/apache/incubator-dolphinscheduler/blob/${RELEASE.VERSION}/ReleaseNotes.md
diff --git a/development/en-us/architecture-design.md
b/development/en-us/architecture-design.md
index e04fb8e..94abd81 100644
--- a/development/en-us/architecture-design.md
+++ b/development/en-us/architecture-design.md
@@ -98,7 +98,7 @@ Before explaining the architecture of the schedule system,
let us first understa
- **UI**
- The front-end page of the system provides various visual operation
interfaces of the system. For details, see the <a
href="/en-us/docs/user_doc/system-manual.html" target="_self">System User
Manual</a> section.
+ The front-end page of the system provides various visual operation
interfaces of the system. For details, see the <a
href="/en-us/docs/latest/user_doc/system-manual.html" target="_self">System
User Manual</a> section.
diff --git a/development/en-us/download.md b/development/en-us/download.md
deleted file mode 100644
index e53babb..0000000
--- a/development/en-us/download.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# Download the DolphinScheduler releases
-
-Use the links below to download the Apache DolphinScheduler from one of our
mirrors.
-
-**Only source code releases are official Apache releases: Windows and Linux
binary distributions are just for end user convenience.**
-
-
-## DolphinScheduler
-| Date | Version| | Downloads |
-|:---:|:--:|:--:|:--:|
-| Dec. 29th, 2020 | 1.3.4 | Source code|
[[src]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-src.zip)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-src.zip.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.4/apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz.sha512)|
-| Nov. 9th, 2020 | 1.3.3 | Source code|
[[src]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-src.zip)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-src.zip.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.3.3/apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz.sha512)|
-| Sep. 1th, 2020 | 1.3.2 | Source code|
[[src]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-src.zip)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-src.zip.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.2/apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz.sha512)|
-| July. 13th, 2020 | 1.3.1 | Source code|
[[src]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-src.zip)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-src.zip.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-dolphinscheduler-bin.tar.gz)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.3.1/apache-dolphinscheduler-incubating-1.3.1-dolphinscheduler-bin.tar.gz.sha512)|
-| Feb. 24th, 2020 | 1.2.1 | Source code|
[[src]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz.sha512)|
-| Jan. 2th, 2020 | 1.2.0 | Source code|
[[src]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip.sha512)|
-| | | Backend Binary Distribution|
[[tar]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.gz)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.gz.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.g
[...]
-| | | Frontend Binary Distribution|
[[tar]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz)
[[asc]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz.asc)
[[sha512]](https://archive.apache.org/dist/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz.sha512)|
-
-# Verify the releases
-[PGP signatures
KEYS](https://downloads.apache.org/incubator/dolphinscheduler/KEYS)
-
-It is essential that you verify the integrity of the downloaded files using
the PGP or SHA signatures. The PGP signatures can be verified using GPG or PGP.
Please download the KEYS as well as the asc signature files for relevant
distribution. It is recommended to get these files from the main distribution
directory and not from the mirrors.
-
-```
-gpg -i KEYS
-
-or
-
-pgpk -a KEYS
-
-or
-
-pgp -ka KEYS
-```
-
-To verify the binaries/sources you can download the relevant asc files for it
from main distribution directory and follow the below guide.
-
-```
-gpg --verify apache-dolphinscheduler-incubating********.asc
apache-dolphinscheduler-incubating*********
-
-or
-
-pgpv apache-dolphinscheduler-incubating********.asc
-
-or
-
-pgp apache-dolphinscheduler-incubating********.asc
-```
-
-<br/>
diff --git a/development/zh-cn/architecture-design.md
b/development/zh-cn/architecture-design.md
index 0bd9d4a..12f1633 100644
--- a/development/zh-cn/architecture-design.md
+++ b/development/zh-cn/architecture-design.md
@@ -88,7 +88,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/latest/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/development/zh-cn/download.md b/development/zh-cn/download.md
deleted file mode 100644
index b0df434..0000000
--- a/development/zh-cn/download.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# 下载DolphinScheduler发布版本
-
-使用下面的链接,从Apache DolphinScheduler的镜像下载。
-
-**只有源码包属于Apache官方发布包,二进制发布包只是为了方便用户使用。**
-
-## DolphinScheduler
-| 日期 | 版本| | 下载 |
-|:---:|:--:|:--:|:--:|
-| Feb. 24th, 2020 | 1.2.1 | Source code|
[[src]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-src.zip.sha512)|
-| | | Binary Distribution|
[[tar]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.1/apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-bin.tar.gz.sha512)|
-| Jan. 2th, 2020 | 1.2.0 | Source code|
[[src]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip.asc)
[[sha512]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-src.zip.sha512)|
-| | | Backend Binary Distribution|
[[tar]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.gz)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.gz.asc)
[[sha512]](https://downloads.apache.org/incubator/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend
[...]
-| | | Frontend Binary Distribution|
[[tar]](https://www.apache.org/dyn/closer.cgi/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz)
[[asc]](https://downloads.apache.org/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz.asc)
[[sha512]](https://downloads.apache.org/incubator/incubator/dolphinscheduler/1.2.0/apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.
[...]
-
-
-# 验证版本
-[PGP signatures
KEYS](https://downloads.apache.org/incubator/dolphinscheduler/KEYS)
-
-使用PGP或SHA签名验证下载文件的完整性至关重要。可以使用GPG或PGP验证PGP签名。请下载KEYS以及发布的asc签名文件。建议从主发布目录而不是镜像中获取这些文件。
-
-```
-gpg -i KEYS
-
-or
-
-pgpk -a KEYS
-
-or
-
-pgp -ka KEYS
-```
-
-要验证二进制文件/源,您可以从主发布目录下载相关的asc文件,并按照以下指南进行操作。
-
-```
-gpg --verify apache-dolphinscheduler-incubating********.asc
apache-dolphinscheduler-incubating*********
-
-or
-
-pgpv apache-dolphinscheduler-incubating********.asc
-
-or
-
-pgp apache-dolphinscheduler-incubating********.asc
-```
-
-<br/>
diff --git a/docs/en-us/1.2.1/user_doc/architecture-design.md
b/docs/en-us/1.2.1/user_doc/architecture-design.md
index e04fb8e..12749d5 100644
--- a/docs/en-us/1.2.1/user_doc/architecture-design.md
+++ b/docs/en-us/1.2.1/user_doc/architecture-design.md
@@ -98,7 +98,7 @@ Before explaining the architecture of the schedule system,
let us first understa
- **UI**
- The front-end page of the system provides various visual operation
interfaces of the system. For details, see the <a
href="/en-us/docs/user_doc/system-manual.html" target="_self">System User
Manual</a> section.
+ The front-end page of the system provides various visual operation
interfaces of the system. For details, see the <a
href="/en-us/docs/1.2.1/user_doc/system-manual.html" target="_self">System User
Manual</a> section.
diff --git a/docs/en-us/1.3.1/user_doc/architecture-design.md
b/docs/en-us/1.3.1/user_doc/architecture-design.md
index 6b804cd..7cad451 100644
--- a/docs/en-us/1.3.1/user_doc/architecture-design.md
+++ b/docs/en-us/1.3.1/user_doc/architecture-design.md
@@ -100,7 +100,7 @@ Before explaining the architecture of the scheduling
system, let's first underst
* **UI**
- The front-end page of the system provides various visual operation
interfaces of the system,See more at<a
href="/en-us/docs/user_doc/system-manual.html" target="_self"> System User
Manual </a>section。
+ The front-end page of the system provides various visual operation
interfaces of the system,See more at<a
href="/en-us/docs/1.3.1/user_doc/system-manual.html" target="_self"> System
User Manual </a>section。
#### 2.3 Architecture design ideas
diff --git a/docs/en-us/1.3.3/user_doc/cluster-deployment.md
b/docs/en-us/1.3.3/user_doc/cluster-deployment.md
index 4a156fa..9f0c638 100644
--- a/docs/en-us/1.3.3/user_doc/cluster-deployment.md
+++ b/docs/en-us/1.3.3/user_doc/cluster-deployment.md
@@ -20,9 +20,9 @@
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and hosts mapping
diff --git a/docs/en-us/1.3.3/user_doc/standalone-deployment.md
b/docs/en-us/1.3.3/user_doc/standalone-deployment.md
index cefc7e6..1ec9994 100644
--- a/docs/en-us/1.3.3/user_doc/standalone-deployment.md
+++ b/docs/en-us/1.3.3/user_doc/standalone-deployment.md
@@ -21,10 +21,10 @@ mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
# rename
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and assign directory operation permissions
diff --git a/docs/en-us/1.3.4/user_doc/cluster-deployment.md
b/docs/en-us/1.3.4/user_doc/cluster-deployment.md
index bceb3ad..a64aabe 100644
--- a/docs/en-us/1.3.4/user_doc/cluster-deployment.md
+++ b/docs/en-us/1.3.4/user_doc/cluster-deployment.md
@@ -20,9 +20,9 @@
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and hosts mapping
diff --git a/docs/en-us/1.3.4/user_doc/standalone-deployment.md
b/docs/en-us/1.3.4/user_doc/standalone-deployment.md
index 9cd61a8..e82c90b 100644
--- a/docs/en-us/1.3.4/user_doc/standalone-deployment.md
+++ b/docs/en-us/1.3.4/user_doc/standalone-deployment.md
@@ -21,10 +21,10 @@ mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
# rename
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and assign directory operation permissions
diff --git a/docs/en-us/1.3.5/user_doc/cluster-deployment.md
b/docs/en-us/1.3.5/user_doc/cluster-deployment.md
index bceb3ad..b3dc3dc 100644
--- a/docs/en-us/1.3.5/user_doc/cluster-deployment.md
+++ b/docs/en-us/1.3.5/user_doc/cluster-deployment.md
@@ -20,9 +20,9 @@
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and hosts mapping
diff --git a/docs/en-us/1.3.5/user_doc/standalone-deployment.md
b/docs/en-us/1.3.5/user_doc/standalone-deployment.md
index 9cd61a8..a9dd1a7 100644
--- a/docs/en-us/1.3.5/user_doc/standalone-deployment.md
+++ b/docs/en-us/1.3.5/user_doc/standalone-deployment.md
@@ -21,10 +21,10 @@ mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# unzip
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
# rename
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、Create deployment user and assign directory operation permissions
diff --git a/docs/zh-cn/1.2.1/user_doc/architecture-design.md
b/docs/zh-cn/1.2.1/user_doc/architecture-design.md
index 0bd9d4a..de2ee4a 100644
--- a/docs/zh-cn/1.2.1/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.2.1/user_doc/architecture-design.md
@@ -88,7 +88,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.2.1/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.2.1/user_doc/standalone-deployment.md
b/docs/zh-cn/1.2.1/user_doc/standalone-deployment.md
index a65b5d1..7f816c4 100644
--- a/docs/zh-cn/1.2.1/user_doc/standalone-deployment.md
+++ b/docs/zh-cn/1.2.1/user_doc/standalone-deployment.md
@@ -17,16 +17,16 @@ DolphinScheduler单机部署分为后端部署和前端部署两部分:
### 1.2 : 下载后端tar.gz包
-- 请下载最新版本的后端安装包至服务器部署目录,比如创建 /opt/dolphinscheduler 做为安装部署目录,下载地址:
[下载](/zh-cn/download/download.html) (以1.2.0版本为例),下载后上传tar包到该目录中,并进行解压
+- 请下载最新版本的后端安装包至服务器部署目录,比如创建 /opt/dolphinscheduler 做为安装部署目录,下载地址:
[下载](/zh-cn/download/download.html) (以1.2.1版本为例),下载后上传tar包到该目录中,并进行解压
```shell
# 创建部署目录
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# 解压缩
-tar -zxvf
apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin.tar.gz -C
/opt/dolphinscheduler;
+tar -zxvf
apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-backend-bin.tar.gz -C
/opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-backend-bin
dolphinscheduler-backend
+mv apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-backend-bin
dolphinscheduler-backend
```
### 1.3:创建部署用户并赋予目录操作权限
@@ -294,14 +294,14 @@ sudo pip install kazoo;
# 2、前端部署
-请下载最新版本的前端安装包至服务器部署目录,下载地址: [下载](/zh-cn/download/download.html)
(以1.2.0版本为例),下载后上传tar包到该目录中,并进行解压
+请下载最新版本的前端安装包至服务器部署目录,下载地址: [下载](/zh-cn/download/download.html)
(以1.2.1版本为例),下载后上传tar包到该目录中,并进行解压
```shell
cd /opt/dolphinscheduler;
-tar -zxvf
apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin.tar.gz -C
/opt/dolphinscheduler;
+tar -zxvf
apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-front-bin.tar.gz -C
/opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.2.0-dolphinscheduler-front-bin
dolphinscheduler-ui
+mv apache-dolphinscheduler-incubating-1.2.1-dolphinscheduler-front-bin
dolphinscheduler-ui
```
diff --git a/docs/zh-cn/1.3.1/user_doc/architecture-design.md
b/docs/zh-cn/1.3.1/user_doc/architecture-design.md
index 446cfc8..50d062b 100644
--- a/docs/zh-cn/1.3.1/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.3.1/user_doc/architecture-design.md
@@ -99,7 +99,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.3.1/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.3.2/user_doc/architecture-design.md
b/docs/zh-cn/1.3.2/user_doc/architecture-design.md
index 446cfc8..f892d22 100644
--- a/docs/zh-cn/1.3.2/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.3.2/user_doc/architecture-design.md
@@ -99,7 +99,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.3.2/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.3.3/user_doc/architecture-design.md
b/docs/zh-cn/1.3.3/user_doc/architecture-design.md
index 446cfc8..394d981 100644
--- a/docs/zh-cn/1.3.3/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.3.3/user_doc/architecture-design.md
@@ -99,7 +99,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.3.3/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md
b/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md
index d9fae63..0a674d1 100644
--- a/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md
+++ b/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md
@@ -30,9 +30,9 @@
mkdir -p /opt
cd /opt
# 解压缩
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt
+tar -zxvf apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin.tar.gz
-C /opt
cd /opt
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler
+mv apache-dolphinscheduler-incubating-1.3.3-dolphinscheduler-bin
dolphinscheduler
```
```markdown
diff --git a/docs/zh-cn/1.3.4/user_doc/architecture-design.md
b/docs/zh-cn/1.3.4/user_doc/architecture-design.md
index 446cfc8..17cfcbc 100644
--- a/docs/zh-cn/1.3.4/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.3.4/user_doc/architecture-design.md
@@ -99,7 +99,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.3.4/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.3.4/user_doc/expansion-reduction.md
b/docs/zh-cn/1.3.4/user_doc/expansion-reduction.md
index 8ea8c26..6e7574d 100644
--- a/docs/zh-cn/1.3.4/user_doc/expansion-reduction.md
+++ b/docs/zh-cn/1.3.4/user_doc/expansion-reduction.md
@@ -30,9 +30,9 @@
mkdir -p /opt
cd /opt
# 解压缩
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt
+tar -zxvf apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz
-C /opt
cd /opt
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler
+mv apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin
dolphinscheduler
```
```markdown
diff --git a/docs/zh-cn/1.3.5/user_doc/architecture-design.md
b/docs/zh-cn/1.3.5/user_doc/architecture-design.md
index 446cfc8..fb02ad0 100644
--- a/docs/zh-cn/1.3.5/user_doc/architecture-design.md
+++ b/docs/zh-cn/1.3.5/user_doc/architecture-design.md
@@ -99,7 +99,7 @@
* **UI**
- 系统的前端页面,提供系统的各种可视化操作界面,详见<a href="/zh-cn/docs/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
+ 系统的前端页面,提供系统的各种可视化操作界面,详见<a
href="/zh-cn/docs/1.3.5/user_doc/system-manual.html"
target="_self">系统使用手册</a>部分。
#### 2.3 架构设计思想
diff --git a/docs/zh-cn/1.3.5/user_doc/cluster-deployment.md
b/docs/zh-cn/1.3.5/user_doc/cluster-deployment.md
index 402b9ed..ab1b101 100644
--- a/docs/zh-cn/1.3.5/user_doc/cluster-deployment.md
+++ b/docs/zh-cn/1.3.5/user_doc/cluster-deployment.md
@@ -20,9 +20,9 @@
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# 解压缩
-tar -zxvf apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、创建部署用户和hosts映射
diff --git a/docs/zh-cn/1.3.5/user_doc/expansion-reduction.md
b/docs/zh-cn/1.3.5/user_doc/expansion-reduction.md
index 8ea8c26..9319ecb 100644
--- a/docs/zh-cn/1.3.5/user_doc/expansion-reduction.md
+++ b/docs/zh-cn/1.3.5/user_doc/expansion-reduction.md
@@ -30,9 +30,9 @@
mkdir -p /opt
cd /opt
# 解压缩
-tar -zxvf apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin.tar.gz
-C /opt
+tar -zxvf apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin.tar.gz
-C /opt
cd /opt
-mv apache-dolphinscheduler-incubating-1.3.2-dolphinscheduler-bin
dolphinscheduler
+mv apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin
dolphinscheduler
```
```markdown
@@ -119,7 +119,7 @@ masters="现有master01,现有master02,ds1,ds2"
workers="现有worker01:default,现有worker02:default,ds3:default,ds4:default"
```
-- 如果扩容的是worker节点,需要设置worker分组.请参考用户手册[5.7 创建worker分组
](/zh-cn/docs/1.3.4/user_doc/system-manual.html)
+- 如果扩容的是worker节点,需要设置worker分组.请参考用户手册[5.7 创建worker分组
](/zh-cn/docs/1.3.5/user_doc/system-manual.html)
- 在所有的新增节点上,修改目录权限,使得部署用户对dolphinscheduler目录有操作权限
diff --git a/docs/zh-cn/1.3.5/user_doc/standalone-deployment.md
b/docs/zh-cn/1.3.5/user_doc/standalone-deployment.md
index baea805..4230900 100644
--- a/docs/zh-cn/1.3.5/user_doc/standalone-deployment.md
+++ b/docs/zh-cn/1.3.5/user_doc/standalone-deployment.md
@@ -20,9 +20,9 @@
mkdir -p /opt/dolphinscheduler;
cd /opt/dolphinscheduler;
# 解压缩
-tar -zxvf apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
+tar -zxvf apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin.tar.gz
-C /opt/dolphinscheduler;
-mv apache-dolphinscheduler-incubating-1.3.4-dolphinscheduler-bin
dolphinscheduler-bin
+mv apache-dolphinscheduler-incubating-1.3.5-dolphinscheduler-bin
dolphinscheduler-bin
```
# 3、创建部署用户并赋予目录操作权限
diff --git a/docs/zh-cn/1.3.5/user_doc/upgrade.md
b/docs/zh-cn/1.3.5/user_doc/upgrade.md
index 3422d8f..98b59db 100644
--- a/docs/zh-cn/1.3.5/user_doc/upgrade.md
+++ b/docs/zh-cn/1.3.5/user_doc/upgrade.md
@@ -35,8 +35,8 @@
## 5. 服务升级
### 5.1 修改`conf/config/install_config.conf`配置内容
-单机部署请参照[单机部署(Standalone)](/zh-cn/docs/1.3.4/user_doc/standalone-deployment.html)中的`6.修改运行参数部分`
-集群部署请参照[集群部署(Cluster)](/zh-cn/docs/1.3.4/user_doc/cluster-deployment.html)中的`6.修改运行参数部分`
+单机部署请参照[单机部署(Standalone)](/zh-cn/docs/1.3.5/user_doc/standalone-deployment.html)中的`6.修改运行参数部分`
+集群部署请参照[集群部署(Cluster)](/zh-cn/docs/1.3.5/user_doc/cluster-deployment.html)中的`6.修改运行参数部分`
### 注意事项
创建worker分组在1.3.1版本和之前版本有了不同的设计
diff --git a/package.json b/package.json
index 836a42c..ef00a05 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"copy-webpack-plugin": "^4.6.0",
"css-loader": "0.28.11",
"css-modules-require-hook": "^4.2.3",
- "docsite-ext": "^1.5.0",
+ "docsite-ext": "^1.5.1",
"eslint": "^5.16.0",
"eslint-config-ali": "^4.1.1",
"eslint-plugin-import": "*",
diff --git a/site_config/community.jsx b/site_config/community.jsx
index 725d73d..7bda7de 100644
--- a/site_config/community.jsx
+++ b/site_config/community.jsx
@@ -45,7 +45,7 @@ export default {
children: [
{
title: 'how to become a committer',
- link: '/en-us/community/development/become a committer.html',
+ link: '/en-us/community/development/become-a-committer.html',
},
{
title: 'Subscribe mail list',
@@ -131,7 +131,7 @@ export default {
title: 'DolphinScheduler beijing meetup has been held successfully',
content: 'DolphinScheduler beijing meetup has been held
successfully',
dateStr: 'May 12nd,2018',
- link: '/en-us/docs/developer_guide/architecture-design.html',
+ link: '/en-us/development/architecture-design.html',
},
],
},
@@ -182,7 +182,7 @@ export default {
{
img: '/img/documents.png',
title: 'Documents',
- content: <span>Improve the <a
href="/en-us/docs/1.3.4/user_doc/quick-start.html">documentation</a>.</span>,
+ content: <span>Improve the <a
href="/en-us/docs/latest/user_doc/quick-start.html">documentation</a>.</span>,
},
{
img: '/img/pullrequest.png',
@@ -236,7 +236,7 @@ export default {
children: [
{
title: '如何成为Dolphinscheduler的committer',
- link: '/zh-cn/community/development/become a committer.html',
+ link: '/zh-cn/community/development/become-a-committer.html',
},
{
title: '订阅邮件列表',
@@ -322,7 +322,7 @@ export default {
title: 'DolphinScheduler 开发者大会在北京成功举行',
content: 'DolphinScheduler 开发者大会在北京成功举行',
dateStr: 'May 12nd,2018',
- link: '/zh-cn/docs/developer_guide/architecture-design.html',
+ link: '/zh-cn/development/architecture-design.html',
},
],
},
@@ -373,7 +373,7 @@ export default {
{
img: '/img/documents.png',
title: '文档',
- content: <span>优化DolphinScheduler <a
href="/zh-cn/docs/1.3.4/user_doc/quick-start.html"> 文档</a>。</span>,
+ content: <span>优化DolphinScheduler <a
href="/zh-cn/docs/latest/user_doc/quick-start.html"> 文档</a>。</span>,
},
{
img: '/img/pullrequest.png',
diff --git a/site_config/development.js b/site_config/development.js
index 4a3e6bc..8c50b40 100644
--- a/site_config/development.js
+++ b/site_config/development.js
@@ -28,10 +28,6 @@ export default {
title: 'plugin-development',
link: '/en-us/development/plugin-development.html',
},
- {
- title: 'download',
- link: '/en-us/development/download.html',
- },
],
},
],
@@ -66,10 +62,6 @@ export default {
title: '插件开发',
link: '/zh-cn/development/plugin-development.html',
},
- {
- title: '下载',
- link: '/zh-cn/development/download.html',
- },
],
},
],
diff --git a/site_config/docs1-3-2.js b/site_config/docs1-3-2.js
index 02d94ce..e08902f 100644
--- a/site_config/docs1-3-2.js
+++ b/site_config/docs1-3-2.js
@@ -106,6 +106,15 @@ export default {
],
},
{
+ title: '扩/缩容',
+ children: [
+ {
+ title: '扩/缩容',
+ link: '/zh-cn/docs/1.3.2/user_doc/expansion-reduction.html',
+ },
+ ],
+ },
+ {
title: 'FAQ',
children: [
{
diff --git a/site_config/docs1-3-3.js b/site_config/docs1-3-3.js
index fb8a973..70fcac4 100644
--- a/site_config/docs1-3-3.js
+++ b/site_config/docs1-3-3.js
@@ -110,7 +110,7 @@ export default {
children: [
{
title: '扩/缩容',
- link:
'https://github.com/apache/incubator-dolphinscheduler-website/blob/master/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md',
+ link: '/zh-cn/docs/1.3.3/user_doc/expansion-reduction.html',
},
],
},
diff --git a/site_config/docs1-3-4.js b/site_config/docs1-3-4.js
index 13d1485..a0695d3 100644
--- a/site_config/docs1-3-4.js
+++ b/site_config/docs1-3-4.js
@@ -140,6 +140,15 @@ export default {
],
},
{
+ title: '扩/缩容',
+ children: [
+ {
+ title: '扩/缩容',
+ link: '/zh-cn/docs/1.3.4/user_doc/expansion-reduction.html',
+ },
+ ],
+ },
+ {
title: 'FAQ',
children: [
{
diff --git a/site_config/docs1-3-5.js b/site_config/docs1-3-5.js
index 2d0f982..754eca3 100644
--- a/site_config/docs1-3-5.js
+++ b/site_config/docs1-3-5.js
@@ -148,6 +148,15 @@ export default {
],
},
{
+ title: '扩/缩容',
+ children: [
+ {
+ title: '扩/缩容',
+ link: '/zh-cn/docs/1.3.5/user_doc/expansion-reduction.html',
+ },
+ ],
+ },
+ {
title: 'FAQ',
children: [
{
diff --git a/site_config/home.jsx b/site_config/home.jsx
index 48574f7..a0954cd 100644
--- a/site_config/home.jsx
+++ b/site_config/home.jsx
@@ -1,5 +1,3 @@
-import React from 'react';
-
export default {
'zh-cn': {
brand: {
@@ -8,7 +6,7 @@ export default {
buttons: [
{
text: '立即开始',
- link: '/zh-cn/docs/1.3.5/user_doc/quick-start.html',
+ link: '/zh-cn/docs/latest/user_doc/quick-start.html',
type: 'primary',
},
{
@@ -61,7 +59,7 @@ export default {
buttons: [
{
text: 'Quick Start',
- link: '/en-us/docs/1.3.5/user_doc/quick-start.html',
+ link: '/en-us/docs/latest/user_doc/quick-start.html',
type: 'primary',
},
{
diff --git a/site_config/site.js b/site_config/site.js
index 6f2d277..7118d4c 100644
--- a/site_config/site.js
+++ b/site_config/site.js
@@ -4,6 +4,7 @@ export default {
port: 8080, // 本地开发服务器的启动端口
domain: 'dolphinscheduler.incubator.apache.org', // 站点部署域名,无需协议和path等
copyToDist: ['img', 'file', '.asf.yaml', 'sitemap.xml', '.nojekyll'], //
当build发布时,需要额外复制到dist目录的资源,默认有:index.html, 404.html, en-us, zh-cn, build
+ docsLatest: '1.3.5', // docs的最新版本,当docs有多个版本时支持latest访问,空则不启用此特性
defaultSearch: 'google', // 默认搜索引擎,baidu或者google
defaultLanguage: 'en-us',
'en-us': {
@@ -16,45 +17,50 @@ export default {
{
key: 'docs',
text: 'DOCS',
- link: '/en-us/docs/1.3.5/user_doc/quick-start.html',
+ link: '/en-us/docs/latest/user_doc/quick-start.html',
children: [
{
- key: 'docs1',
- text: '1.3.5(Recommend)',
+ key: 'docs0',
+ text: 'latest(1.3.5)',
+ link: '/en-us/docs/latest/user_doc/quick-start.html',
+ },
+ {
+ key: 'docs135',
+ text: '1.3.5',
link: '/en-us/docs/1.3.5/user_doc/quick-start.html',
},
{
- key: 'docs2',
+ key: 'docs134',
text: '1.3.4',
link: '/en-us/docs/1.3.4/user_doc/quick-start.html',
},
{
- key: 'docs3',
+ key: 'docs133',
text: '1.3.3',
link: '/en-us/docs/1.3.3/user_doc/quick-start.html',
},
{
- key: 'docs4',
+ key: 'docs132',
text: '1.3.2',
link: '/en-us/docs/1.3.2/user_doc/quick-start.html',
},
{
- key: 'docs5',
+ key: 'docs131',
text: '1.3.1',
link: '/en-us/docs/1.3.1/user_doc/quick-start.html',
},
{
- key: 'docs6',
+ key: 'docs121',
text: '1.2.1',
link: '/en-us/docs/1.2.1/user_doc/quick-start.html',
},
{
- key: 'docs7',
+ key: 'docs120',
text: '1.2.0',
link: '/en-us/docs/1.2.0/user_doc/quick-start.html',
},
{
- key: 'docs8',
+ key: 'docs110',
text: '1.1.0(Not Apache Release)',
link: 'https://analysys.github.io/easyscheduler_docs_cn/',
},
@@ -137,7 +143,7 @@ export default {
},
{
text: 'Quick start',
- link: '/en-us/docs/1.3.4/user_doc/quick-start.html',
+ link: '/en-us/docs/latest/user_doc/quick-start.html',
},
{
text: 'Developer guide',
@@ -182,45 +188,50 @@ export default {
{
key: 'docs',
text: '文档',
- link: '/zh-cn/docs/1.3.5/user_doc/quick-start.html',
+ link: '/zh-cn/docs/latest/user_doc/quick-start.html',
children: [
{
- key: 'docs1',
- text: '1.3.5(推荐)',
+ key: 'docs0',
+ text: 'latest(1.3.5)',
+ link: '/zh-cn/docs/latest/user_doc/quick-start.html',
+ },
+ {
+ key: 'docs135',
+ text: '1.3.5',
link: '/zh-cn/docs/1.3.5/user_doc/quick-start.html',
},
{
- key: 'docs2',
+ key: 'docs134',
text: '1.3.4',
link: '/zh-cn/docs/1.3.4/user_doc/quick-start.html',
},
{
- key: 'docs3',
+ key: 'docs133',
text: '1.3.3',
link: '/zh-cn/docs/1.3.3/user_doc/quick-start.html',
},
{
- key: 'docs4',
+ key: 'docs132',
text: '1.3.2',
link: '/zh-cn/docs/1.3.2/user_doc/quick-start.html',
},
{
- key: 'docs5',
+ key: 'docs131',
text: '1.3.1',
link: '/zh-cn/docs/1.3.1/user_doc/quick-start.html',
},
{
- key: 'docs6',
+ key: 'docs121',
text: '1.2.1',
link: '/zh-cn/docs/1.2.1/user_doc/quick-start.html',
},
{
- key: 'docs7',
+ key: 'docs120',
text: '1.2.0',
link: '/zh-cn/docs/1.2.0/user_doc/quick-start.html',
},
{
- key: 'docs8',
+ key: 'docs110',
text: '1.1.0(Not Apache Release)',
link: 'https://analysys.github.io/easyscheduler_docs_cn/',
},
@@ -304,7 +315,7 @@ export default {
},
{
text: '快速开始',
- link: '/zh-cn/docs/1.3.4/user_doc/quick-start.html',
+ link: '/zh-cn/docs/latest/user_doc/quick-start.html',
},
{
text: '开发者指南',
diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx
index 714e2c8..8a0278b 100644
--- a/src/components/header/index.jsx
+++ b/src/components/header/index.jsx
@@ -57,14 +57,17 @@ class Header extends React.Component {
}
componentDidMount() {
- if (localStorage.getItem('currents') == null) {
- this.setState({
- current: window.location.pathname.split('/')[2] || 'home',
- });
- } else {
- this.setState({
- current: localStorage.getItem('currents'),
- });
+ const parts = window.location.pathname.split('/');
+ if (!parts[2] || parts[2] === 'index.html') {
+ this.setCurrent('home');
+ } else if (siteConfig[this.state.language].pageMenu.some(menu => menu.key
=== parts[2]) && (parts[2] !== 'docs' || parts[3] === 'latest')) {
+ if (parts[2] !== 'docs') {
+ this.setCurrent(parts[2]);
+ } else if (parts[3] === 'latest') {
+ this.setCurrent('docs0');
+ }
+ } else if (localStorage.getItem('currents')) {
+ this.setCurrent(localStorage.getItem('currents'));
}
}
@@ -74,14 +77,18 @@ class Header extends React.Component {
});
}
-
- handleClick = (e) => {
- localStorage.setItem('currents', e.key);
+ setCurrent = (key) => {
+ localStorage.setItem('currents', key);
this.setState({
- current: e.key,
+ current: key,
});
}
+ handleClick = (e) => {
+ const key = e.key === 'docs' ? 'docs0' : e.key;
+ this.setCurrent(key);
+ }
+
switchLang() {
let language;
if (this.state.language === 'zh-cn') {
@@ -205,7 +212,7 @@ class Header extends React.Component {
key={item.key}
className={this.state.current === item.key ?
'ant-menu-item-selected' : ''}
title={
- <span className="submenu-title-wrapper" onClick={() =>
this.handleClick(item)}>
+ <span className="submenu-title-wrapper">
<a href={getLink(item.link)} target={item.target ||
'_self'}>{item.text}</a>
<ul style={{ display: 'none' }}>
{item.children.map(items => (
diff --git a/src/components/md2html/index.jsx b/src/components/md2html/index.jsx
index 98b2e4b..fd5cbf2 100644
--- a/src/components/md2html/index.jsx
+++ b/src/components/md2html/index.jsx
@@ -1,6 +1,7 @@
import { scroller } from 'react-scroll';
import path from 'path';
import 'whatwg-fetch'; // fetch polyfill
+import siteConfig from '../../../site_config/site';
import './index.scss';
const anchorReg = /^#[^/]/;
@@ -40,11 +41,11 @@ const Md2Html = ComposeComponent => class extends
ComposeComponent {
componentDidUpdate() {
this.handleRelativeLink();
this.handleRelativeImg();
+ this.handleDocsLatestLink();
}
handleRelativeLink() {
const language = this.getLanguage();
- // 获取当前文档所在文件系统中的路径
// rootPath/en-us/docs/dir/hello.html => /docs/en-us/dir
const splitPart =
window.location.pathname.replace(`${window.rootPath}/${language}`,
'').split('/').slice(0, -1);
const filePath = splitPart.join('/');
@@ -60,7 +61,6 @@ const Md2Html = ComposeComponent => class extends
ComposeComponent {
handleRelativeImg() {
const language = this.getLanguage();
- // 获取当前文档所在文件系统中的路径
// rootPath/en-us/docs/dir/hello.html => /docs/en-us/dir
const splitPart =
window.location.pathname.replace(`${window.rootPath}/${language}`,
'').split('/').slice(0, -1);
splitPart.splice(2, 0, language);
@@ -74,6 +74,18 @@ const Md2Html = ComposeComponent => class extends
ComposeComponent {
}
});
}
+
+ handleDocsLatestLink() {
+ if (!siteConfig.docsLatest) return;
+ // rootPath/en-us/docs/1.3.5/user_doc/cluster-deployment.html =>
rootPath/en-us/docs/latest/user_doc/cluster-deployment.html
+ const alinks = Array.from(this.markdownContainer.querySelectorAll('a'));
+ alinks.forEach((alink) => {
+ const href = alink.getAttribute('href');
+ if (typeof href === 'string' &&
href.includes(`docs/${siteConfig.docsLatest}`)) {
+ alink.href = href.replace(`docs/${siteConfig.docsLatest}`,
'docs/latest');
+ }
+ });
+ }
};
export default Md2Html;
diff --git a/src/pages/docs/index.md.jsx b/src/pages/docs/index.md.jsx
index dd7b8f1..8ba19a5 100644
--- a/src/pages/docs/index.md.jsx
+++ b/src/pages/docs/index.md.jsx
@@ -1,36 +1,54 @@
import React from 'react';
import ReactDOM from 'react-dom';
+import cookie from 'js-cookie';
import Language from '../../components/language';
import Header from '../../components/header';
import Footer from '../../components/footer';
import Md2Html from '../../components/md2html';
import Bar from '../../components/bar';
import Sidemenu from '../../components/sidemenu';
-import docsConfig0 from '../../../site_config/docs1-2-0';
-import docsConfig1 from '../../../site_config/docs1-2-1';
-import docsConfig2 from '../../../site_config/docs1-3-1';
-import docsConfig3 from '../../../site_config/docs1-3-2';
-import docsConfig4 from '../../../site_config/docs1-3-3';
-import docsConfig5 from '../../../site_config/docs1-3-4';
-import docsConfig6 from '../../../site_config/docs1-3-5';
+import siteConfig from '../../../site_config/site';
+import docs120Config from '../../../site_config/docs1-2-0';
+import docs121Config from '../../../site_config/docs1-2-1';
+import docs131Config from '../../../site_config/docs1-3-1';
+import docs132Config from '../../../site_config/docs1-3-2';
+import docs133Config from '../../../site_config/docs1-3-3';
+import docs134Config from '../../../site_config/docs1-3-4';
+import docs135Config from '../../../site_config/docs1-3-5';
const docsSource = {
- '1.2.0': docsConfig0,
- '1.2.1': docsConfig1,
- '1.3.1': docsConfig2,
- '1.3.2': docsConfig3,
- '1.3.3': docsConfig4,
- '1.3.4': docsConfig5,
- '1.3.5': docsConfig6,
+ '1.2.0': docs120Config,
+ '1.2.1': docs121Config,
+ '1.3.1': docs131Config,
+ '1.3.2': docs132Config,
+ '1.3.3': docs133Config,
+ '1.3.4': docs134Config,
+ '1.3.5': docs135Config,
};
+const isValidVersion = version => version &&
docsSource.hasOwnProperty(version);
+
class Docs extends Md2Html(Language) {
render() {
const language = this.getLanguage();
- let dataSource = docsConfig5[language];
+ let dataSource = {};
let version = window.location.pathname.split('/')[3];
- if (version && docsSource.hasOwnProperty(version)) {
+ if ((isValidVersion(version) || version === 'latest')) {
+ cookie.set('docs_version', version);
+ }
+ if (isValidVersion(version)) {
dataSource = docsSource[version][language];
+ } else if (isValidVersion(cookie.get('docs_version'))) {
+ dataSource = docsSource[cookie.get('docs_version')][language];
+ } else if (isValidVersion(siteConfig.docsLatest)) {
+ dataSource = docsSource[siteConfig.docsLatest][language];
+ dataSource.sidemenu.forEach((menu) => {
+ menu.children.forEach((submenu) => {
+ submenu.link = submenu.link.replace(`docs/${siteConfig.docsLatest}`,
'docs/latest');
+ });
+ });
+ } else {
+ return null;
}
const __html = this.props.__html || this.state.__html;
return (