This is an automated email from the ASF dual-hosted git repository.
lidongdai 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 53a3ea3 change node version from 8 to 10. (#294)
53a3ea3 is described below
commit 53a3ea32973333bb75d921ea7e8fdc8d66f7742e
Author: Yibo-Liu <[email protected]>
AuthorDate: Thu Feb 18 15:25:25 2021 +0800
change node version from 8 to 10. (#294)
---
README.md | 2 +-
community/en-us/development/document.md | 134 ++++++++++++++++----------------
community/zh-cn/development/document.md | 10 +--
3 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/README.md b/README.md
index add664e..92b2045 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ If you have higher version of node installed, you may
consider `nvm` to allow di
1. Follow 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 working environment to node v8
+3. Run `nvm use v10.23.1` to switch the working environment to node v10
Then you are all set to run and build the website. Follow the build
instruction above for the details.
diff --git a/community/en-us/development/document.md
b/community/en-us/development/document.md
index 9599206..d702676 100644
--- a/community/en-us/development/document.md
+++ b/community/en-us/development/document.md
@@ -1,67 +1,67 @@
-## Contribute documentation.
-
-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).
-
-First you need to fork the document project into your own github repository,
and then clone the document to your local computer.
-
-```
-git clone
https://github.com/<your-github-user-name>/incubator-dolphinscheduler-website
-```
-
-### 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".
-
-Make sure that your node version is 8.x, docsite does not yet support versions
higher than 8.x.
-
-### Document build guide.
-
-1. Run the "npm install docsite-g" installation development tool.
-
-2. Run "npm i" in the root directory to install the dependencies.
-
-3. Running "docsite start" under the root folder starts the local server,
which will allow you to access http://127.0.0.1:8080.
-
-4. Run "docsite build" to generate the source code for the document site.
-
-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.
-
-1. Refer to the [Instructions](http://nvm.sh) to install nvm.
-
-2. Run “nvm install v8.16.0” to install node v8.
-
-3. Run “nvm use v8.16.0” to switch the current working environment to node v8.
-
-4. Run `npm install docsite -g`
-
-Now you can run and build the website in your local environment.
-
-### The document specification.
-
-1. ** Spaces are Required ** between Chinese characters and English or numbers
and ** Spaces are not required ** between Chinese punctuation marks and English
or numbers, to enhance the aesthetics and readability of the Chinese-English
mix.
-
-2. It is recommended that you use "you" in general. Of course, you can use the
term when necessary, such as when there is a warning prompt.
-
-### How to submit a document Pull Request.
-
-1. Do not use "git add." to commit all changes.
-
-2. Simply push the changed files, for example:
-
- * `*.md`
- * `blog.js or docs.js or site.js`
-
-3. Submit the Pull Request to the **master** branch.
-
-### Reference to the documentation.
-
-[Apache Flink Translation
Specifications](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications)
\ No newline at end of file
+## Contribute documentation.
+
+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).
+
+First you need to fork the document project into your own github repository,
and then clone the document to your local computer.
+
+```
+git clone
https://github.com/<your-github-user-name>/incubator-dolphinscheduler-website
+```
+
+### 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".
+
+Make sure that your node version is 10.x, docsite does not yet support
versions higher than 10.x.
+
+### Document build guide.
+
+1. Run the "npm install docsite-g" installation development tool.
+
+2. Run "npm i" in the root directory to install the dependencies.
+
+3. Running "docsite start" under the root folder starts the local server,
which will allow you to access http://127.0.0.1:8080.
+
+4. Run "docsite build" to generate the source code for the document site.
+
+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.
+
+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.
+
+4. Run `npm install docsite -g`
+
+Now you can run and build the website in your local environment.
+
+### The document specification.
+
+1. ** Spaces are Required ** between Chinese characters and English or numbers
and ** Spaces are not required ** between Chinese punctuation marks and English
or numbers, to enhance the aesthetics and readability of the Chinese-English
mix.
+
+2. It is recommended that you use "you" in general. Of course, you can use the
term when necessary, such as when there is a warning prompt.
+
+### How to submit a document Pull Request.
+
+1. Do not use "git add." to commit all changes.
+
+2. Simply push the changed files, for example:
+
+ * `*.md`
+ * `blog.js or docs.js or site.js`
+
+3. Submit the Pull Request to the **master** branch.
+
+### Reference to the documentation.
+
+[Apache Flink Translation
Specifications](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications)
diff --git a/community/zh-cn/development/document.md
b/community/zh-cn/development/document.md
index e0578d7..b059fe5 100644
--- a/community/zh-cn/development/document.md
+++ b/community/zh-cn/development/document.md
@@ -19,7 +19,7 @@ DolphinScheduler 网站由
[docsite](https://github.com/txd-team/docsite) 提供
如果你的 docsite 版本低于 “1.3.3”,请升级到 “1.3.3”。
-请确保你的 node 版本是 8.x,docsite 尚不支持高于 8.x 的版本。
+请确保你的 node 版本是 10.x,docsite 尚不支持高于 10.x 的版本。
### 文档构建指南
@@ -37,11 +37,11 @@ DolphinScheduler 网站由
[docsite](https://github.com/txd-team/docsite) 提供
1. 参考[说明](http://nvm.sh)安装 nvm
-2. 运行 “nvm install v8.16.0” 安装 node v8
+2. 运行 “nvm install v10.23.1” 安装 node v10
-3. 运行 “nvm use v8.16.0” 将当前工作环境切换到 node v8
+3. 运行 “nvm use v10.23.1” 将当前工作环境切换到 node v10
-4. 运行`npm install docsite-g`
+4. 运行 “npm install docsite-g“
然后你就可以在本地环境运行和建立网站了。
@@ -64,4 +64,4 @@ DolphinScheduler 网站由
[docsite](https://github.com/txd-team/docsite) 提供
### 参考文档
-[Apache Flink
中文文档规范](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications)
\ No newline at end of file
+[Apache Flink
中文文档规范](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications)