You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/08 10:58:43 UTC
[shardingsphere-elasticjob-lite] branch master updated: Adjust
document menu structure (#992)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-lite.git
The following commit(s) were added to refs/heads/master by this push:
new f73431c Adjust document menu structure (#992)
f73431c is described below
commit f73431c30f3764470305ec9ddcb17d464bd3e7e9
Author: Liang Zhang <te...@163.com>
AuthorDate: Wed Jul 8 18:58:36 2020 +0800
Adjust document menu structure (#992)
* Adjust document menu structure
* Update overview
* Update readme
* Update faq
* Add features
* Update roadmap
* Update user-manual and dev-manual
---
README.md | 59 +++++-----
README_ZH.md | 55 +++++-----
docs/content/blog/_index.cn.md | 4 +-
docs/content/blog/_index.en.md | 4 +-
docs/content/design/_index.cn.md | 11 --
docs/content/dev-manual/_index.cn.md | 11 ++
docs/content/{design => dev-manual}/_index.en.md | 10 +-
.../{design => dev-manual}/lite-design.cn.md | 2 +-
.../{design => dev-manual}/lite-design.en.md | 2 +-
docs/content/{design => dev-manual}/roadmap.cn.md | 10 +-
docs/content/{design => dev-manual}/roadmap.en.md | 10 +-
docs/content/{start/faq.cn.md => faq/_index.cn.md} | 5 +-
docs/content/{start/faq.en.md => faq/_index.en.md} | 5 +-
docs/content/features/_index.cn.md | 8 ++
docs/content/features/_index.en.md | 9 ++
docs/content/features/elastic.cn.md | 45 ++++++++
docs/content/features/elastic.en.md | 45 ++++++++
docs/content/features/failover.cn.md | 8 ++
docs/content/features/failover.en.md | 8 ++
docs/content/features/jobt-ype.cn.md | 8 ++
docs/content/features/jobt-ype.en.md | 8 ++
docs/content/features/misfired.cn.md | 8 ++
docs/content/features/misfired.en.md | 8 ++
docs/content/overview/_index.cn.md | 42 +++----
docs/content/overview/_index.en.md | 69 ++++++------
docs/content/overview/intro.cn.md | 122 ---------------------
docs/content/overview/intro.en.md | 122 ---------------------
docs/content/powered-by/_index.cn.md | 4 +-
docs/content/powered-by/_index.en.md | 4 +-
.../quick-start.cn.md => quick-start/_index.cn.md} | 17 ++-
.../quick-start.en.md => quick-start/_index.en.md} | 17 ++-
docs/content/start/_index.cn.md | 12 --
docs/content/start/_index.en.md | 12 --
docs/content/{guide => user-manual}/_index.cn.md | 6 +-
docs/content/{guide => user-manual}/_index.en.md | 6 +-
.../{guide => user-manual}/customized-hook.cn.md | 4 +-
.../{guide => user-manual}/customized-hook.en.md | 2 +-
.../{start => user-manual}/deploy-guide.cn.md | 4 +-
.../{start => user-manual}/deploy-guide.en.md | 4 +-
docs/content/{guide => user-manual}/dump.cn.md | 4 +-
docs/content/{guide => user-manual}/dump.en.md | 2 +-
.../{guide => user-manual}/event-trace.cn.md | 4 +-
.../{guide => user-manual}/event-trace.en.md | 4 +-
.../{guide => user-manual}/execution-monitor.cn.md | 4 +-
.../{guide => user-manual}/execution-monitor.en.md | 4 +-
.../dev-guide.cn.md => user-manual/job-api.cn.md} | 6 +-
.../dev-guide.en.md => user-manual/job-api.en.md} | 6 +-
.../job-config.cn.md} | 4 +-
.../job-config.en.md} | 6 +-
.../{guide => user-manual}/job-listener.cn.md | 4 +-
.../{guide => user-manual}/job-listener.en.md | 4 +-
.../{guide => user-manual}/job-reconcile.cn.md | 4 +-
.../{guide => user-manual}/job-reconcile.en.md | 4 +-
.../job-sharding-strategy.cn.md | 2 +-
.../job-sharding-strategy.en.md | 2 +-
.../{guide => user-manual}/operation-manual.cn.md | 4 +-
.../{guide => user-manual}/operation-manual.en.md | 6 +-
.../{guide => user-manual}/web-console.cn.md | 4 +-
.../{guide => user-manual}/web-console.en.md | 4 +-
59 files changed, 387 insertions(+), 485 deletions(-)
diff --git a/README.md b/README.md
index a04ec3b..5c02e46 100644
--- a/README.md
+++ b/README.md
@@ -1,28 +1,36 @@
-# Elastic-Job - distributed scheduled job solution
+# [ElasticJob - distributed scheduled job solution](http://shardingsphere.apache.org/elasticjob/)
-[![Total Lines](https://tokei.rs/b1/github/elasticjob/elastic-job-lite?category=lines)](https://github.com/elasticjob/elastic-job-lite)
-[![Build Status](https://travis-ci.org/apache/shardingsphere-elastic-job-lite.svg?branch=master)](https://travis-ci.org/github/apache/shardingsphere-elastic-job-lite)
-[![Maven Status](https://maven-badges.herokuapp.com/maven-central/elaticjob.shardingsphere.apache.org/elastic-job-lite/badge.svg)](https://maven-badges.herokuapp.com/maven-central/elaticjob.shardingsphere.apache.org/elastic-job-lite)
-[![Gitter](https://badges.gitter.im/Elastic-JOB/elastic-job-lite.svg)](https://gitter.im/Elastic-JOB/elasticjob?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
-[![GitHub release](https://img.shields.io/github/release/elasticjob/elastic-job.svg)](https://github.com/elasticjob/elastic-job/releases)
-[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
+**Official website: http://shardingsphere.apache.org/elasticjob/**
+
+[![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob-lite.svg)](https://starchart.cc/apache/shardingsphere-elasticjob-lite)
+
+ElasticJob is a distributed scheduled job solution.
+It is composited from 2 independent sub projects: ElasticJob Lite and ElasticJob Cloud.
-# [Homepage](http://shardingsphere.apache.org/elasticjob/)
+ElasticJob Lite is a centre-less solution, use lightweight jar to coordinate distributed jobs.
-# [中文主页](http://shardingsphere.apache.org/elasticjob/index_zh.html)
+ElasticJob Lite and ElasticJob Cloud provide unified API.
+Developers only need code one time, then decide to deploy Lite or Cloud as you want.
-# Elastic-Job-Lite Console [![GitHub release](https://img.shields.io/badge/release-download-orange.svg)](https://elasticjob.io/dist/elastic-job-lite-console-2.1.5.tar.gz)
+ElasticJob became an [Apache ShardingSphere](https://shardingsphere.apache.org/) Sub project on May 28 2020.
-# Overview
+Welcome communicate with community via [mail list](mailto:dev@shardingsphere.apache.org).
-Elastic-Job is a distributed scheduled job solution. Elastic-Job is composited from 2 independent sub projects: Elastic-Job-Lite and Elastic-Job-Cloud.
+[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
+
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
-Elastic-Job-Lite is a centre-less solution, use lightweight jar to coordinate distributed jobs.
+[![Maven Status](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
+[![Build Status](https://secure.travis-ci.org/apache/shardingsphere-elasticjob-lite.png?branch=master)](https://travis-ci.org/apache/shardingsphere-elasticjob-lite)
+[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
-Elastic-Job-Lite and Elastic-Job-Cloud provide unified API. Developers only need code one time, then decide to deploy Lite or Cloud as you want.
+## Architecture
-# Features
+### Elastic-Job-Lite
+
+![Elastic-Job-Lite Architecture](docs/static/img/architecture/elastic_job_lite.png)
+
+## Features
* Distributed schedule job coordinate
* Elastic scale in and scale out supported
@@ -36,20 +44,13 @@ Elastic-Job-Lite and Elastic-Job-Cloud provide unified API. Developers only need
* Spring integrated and namespace supported
* Web console
-# Architecture
-
-## Elastic-Job-Lite
-
-![Elastic-Job-Lite Architecture](docs/static/img/architecture/elastic_job_lite.png)
-
-
-# [Release Notes](https://github.com/elasticjob/elastic-job/releases)
+## [Release Notes](https://github.com/elasticjob/elastic-job/releases)
-# [Roadmap](ROADMAP.md)
+## [Roadmap](ROADMAP.md)
-# Quick Start
+## Quick Start
-## Add maven dependency
+### Add maven dependency
```xml
<!-- import elastic-job lite core -->
@@ -66,7 +67,7 @@ Elastic-Job-Lite and Elastic-Job-Cloud provide unified API. Developers only need
<version>${lasted.release.version}</version>
</dependency>
```
-## Job development
+### Job development
```java
public class MyElasticJob implements SimpleJob {
@@ -89,7 +90,7 @@ public class MyElasticJob implements SimpleJob {
}
```
-## Job configuration
+### Job configuration
```xml
<?xml version="1.0" encoding="UTF-8"?>
diff --git a/README_ZH.md b/README_ZH.md
index 20de4f4..d894237 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -1,19 +1,31 @@
-# Elastic-Job - 分布式作业调度解决方案
-[![Total Lines](https://tokei.rs/b1/github/elasticjob/elastic-job-lite?category=lines)](https://github.com/elasticjob/elastic-job-lite)
-[![Build Status](https://secure.travis-ci.org/elasticjob/elastic-job-lite.png?branch=master)](https://travis-ci.org/elasticjob/elastic-job-lite)
-[![Maven Status](https://maven-badges.herokuapp.com/maven-central/elaticjob.shardingsphere.apache.org/elastic-job-lite/badge.svg)](https://maven-badges.herokuapp.com/maven-central/elaticjob.shardingsphere.apache.org/elastic-job-lite)
-[![Gitter](https://badges.gitter.im/Elastic-JOB/elastic-job-lite.svg)](https://gitter.im/Elastic-JOB/elasticjob?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
-[![GitHub release](https://img.shields.io/github/release/elasticjob/elastic-job.svg)](https://github.com/elasticjob/elastic-job/releases)
+# [ElasticJob - 分布式作业调度解决方案](http://shardingsphere.apache.org/elasticjob/)
+
+**官方网站: http://shardingsphere.apache.org/elasticjob/**
+
+[![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob-lite.svg)](https://starchart.cc/apache/shardingsphere-elasticjob-lite)
+
+ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob Lite 和 ElasticJob Cloud 组成。
+
+ElasticJob Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务。
+
+ElasticJob 已于 2020 年 5 月 28 日成为 [Apache ShardingSphere](https://shardingsphere.apache.org/)的子项目。
+欢迎通过[邮件列表](mailto:dev@shardingsphere.apache.org)参与讨论。
+
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
-# 概述
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
-Elastic-Job是一个分布式调度解决方案,由两个相互独立的子项目Elastic-Job-Lite和Elastic-Job-Cloud组成。
+[![Maven Status](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
+[![Build Status](https://secure.travis-ci.org/apache/shardingsphere-elasticjob-lite.png?branch=master)](https://travis-ci.org/apache/shardingsphere-elasticjob-lite)
+[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
+
+## 架构图
-Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形式提供分布式任务的协调服务。
+### ElasticJob Lite
-# 功能列表
+![Elastic-Job-Lite Architecture](https://shardingsphere.apache.org/elasticjob/lite/img/architecture/elastic_job_lite.png)
+
+## 功能列表
* 分布式调度协调
* 弹性扩容缩容
@@ -24,23 +36,16 @@ Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形
* 支持并行调度
* 支持作业生命周期操作
* 丰富的作业类型
-* Spring整合以及命名空间提供
+* Spring 整合以及命名空间提供
* 运维平台
-# 架构图
-
-## Elastic-Job-Lite
-
-![Elastic-Job-Lite Architecture](docs/static/img/architecture/elastic_job_lite.png)
-
-
-# [Release Notes](https://github.com/elasticjob/elastic-job/releases)
+## [Release Notes](https://github.com/elasticjob/elastic-job/releases)
-# [Roadmap](ROADMAP.md)
+## [Roadmap](ROADMAP.md)
-# 快速入门
+## 快速入门
-## 引入maven依赖
+### 引入maven依赖
```xml
<!-- 引入elastic-job-lite核心模块 -->
@@ -58,7 +63,7 @@ Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形
</dependency>
```
-## 作业开发
+### 作业开发
```java
public class MyElasticJob implements SimpleJob {
@@ -81,7 +86,7 @@ public class MyElasticJob implements SimpleJob {
}
```
-## 作业配置
+### 作业配置
```xml
<?xml version="1.0" encoding="UTF-8"?>
diff --git a/docs/content/blog/_index.cn.md b/docs/content/blog/_index.cn.md
index 5a8b53a..b5f671e 100644
--- a/docs/content/blog/_index.cn.md
+++ b/docs/content/blog/_index.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>6. </b>"
+pre = "<b>8. </b>"
title = "博客"
-weight = 6
+weight = 8
chapter = true
+++
diff --git a/docs/content/blog/_index.en.md b/docs/content/blog/_index.en.md
index 0009071..4cf9986 100644
--- a/docs/content/blog/_index.en.md
+++ b/docs/content/blog/_index.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>6. </b>"
+pre = "<b>8. </b>"
title = "Blog"
-weight = 6
+weight = 8
chapter = true
+++
diff --git a/docs/content/design/_index.cn.md b/docs/content/design/_index.cn.md
deleted file mode 100644
index 0505166..0000000
--- a/docs/content/design/_index.cn.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-pre = "<b>4. </b>"
-title = "设计规划"
-weight = 4
-chapter = true
-+++
-
-# 本章导航
-
- - 想了解架构设计及项目模块设计的概念,请阅读[实现原理](/03-design/lite-design/)及[目录结构说明](/03-design/module/)。
- - Elastic-Job未来规划有哪些呢?请阅读[未来规划](/03-design/roadmap/)。
\ No newline at end of file
diff --git a/docs/content/dev-manual/_index.cn.md b/docs/content/dev-manual/_index.cn.md
new file mode 100644
index 0000000..226962f
--- /dev/null
+++ b/docs/content/dev-manual/_index.cn.md
@@ -0,0 +1,11 @@
++++
+pre = "<b>5. </b>"
+title = "开发者手册"
+weight = 5
+chapter = true
++++
+
+# 本章导航
+
+ - 想了解架构设计及项目模块设计的概念,请阅读[实现原理](/dev-manual/lite-design/)及[目录结构说明](/dev-manual/module/)。
+ - Elastic-Job未来规划有哪些呢?请阅读[未来规划](/dev-manual/roadmap/)。
diff --git a/docs/content/design/_index.en.md b/docs/content/dev-manual/_index.en.md
similarity index 50%
rename from docs/content/design/_index.en.md
rename to docs/content/dev-manual/_index.en.md
index f11ff4f..6a98760 100644
--- a/docs/content/design/_index.en.md
+++ b/docs/content/dev-manual/_index.en.md
@@ -1,11 +1,11 @@
+++
-pre = "<b>4. </b>"
-title = "Roadmap"
-weight = 4
+pre = "<b>5. </b>"
+title = "Dev Manual"
+weight = 5
chapter = true
+++
# 本章导航
- - 想了解架构设计及项目模块设计的概念,请阅读[实现原理](/03-design/lite-design/)及[目录结构说明](/03-design/module/)。
- - Elastic-Job未来规划有哪些呢?请阅读[未来规划](/03-design/roadmap/)。
\ No newline at end of file
+ - 想了解架构设计及项目模块设计的概念,请阅读[实现原理](/dev-manual/lite-design/)及[目录结构说明](/dev-manual/module/)。
+ - Elastic-Job未来规划有哪些呢?请阅读[未来规划](/dev-manual/roadmap/)。
diff --git a/docs/content/design/lite-design.cn.md b/docs/content/dev-manual/lite-design.cn.md
similarity index 99%
rename from docs/content/design/lite-design.cn.md
rename to docs/content/dev-manual/lite-design.cn.md
index 75983fa..64e3133 100644
--- a/docs/content/design/lite-design.cn.md
+++ b/docs/content/dev-manual/lite-design.cn.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>4.1. </b>"
+pre = "<b>5.1. </b>"
title = "实现原理"
weight = 1
chapter = true
diff --git a/docs/content/design/lite-design.en.md b/docs/content/dev-manual/lite-design.en.md
similarity index 99%
rename from docs/content/design/lite-design.en.md
rename to docs/content/dev-manual/lite-design.en.md
index 6381da3..7344db7 100644
--- a/docs/content/design/lite-design.en.md
+++ b/docs/content/dev-manual/lite-design.en.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>4.1. </b>"
+pre = "<b>5.1. </b>"
title = "Principle"
weight = 1
chapter = true
diff --git a/docs/content/design/roadmap.cn.md b/docs/content/dev-manual/roadmap.cn.md
similarity index 90%
rename from docs/content/design/roadmap.cn.md
rename to docs/content/dev-manual/roadmap.cn.md
index 4e697a5..1c73475 100644
--- a/docs/content/design/roadmap.cn.md
+++ b/docs/content/dev-manual/roadmap.cn.md
@@ -1,11 +1,12 @@
+++
-pre = "<b>4.2. </b>"
+pre = "<b>5.2. </b>"
title = "线路规划"
weight = 2
chapter = true
+++
## Core
+
- [x] Unified Job Config API
- [x] Core Config
- [x] Type Config
@@ -22,7 +23,8 @@ chapter = true
- [ ] Unified Schedule API
- [ ] Unified Resource API
-## Elastic-Job-Lite
+## ElasticJob Lite
+
- [x] Distributed Features
- [x] High Availability
- [x] Elastic scale in/out
@@ -42,8 +44,8 @@ chapter = true
- [x] Web Console
- [x] Job Dependency
- [x] Listener
- - [ ] Workflow
- [ ] DAG
- [x] Spring Integrate
- [x] Namespace
- - [x] Bean Injection
\ No newline at end of file
+ - [x] Bean Injection
+ - [ ] Spring Boot Starter
diff --git a/docs/content/design/roadmap.en.md b/docs/content/dev-manual/roadmap.en.md
similarity index 90%
rename from docs/content/design/roadmap.en.md
rename to docs/content/dev-manual/roadmap.en.md
index 9095728..6a23e45 100644
--- a/docs/content/design/roadmap.en.md
+++ b/docs/content/dev-manual/roadmap.en.md
@@ -1,11 +1,12 @@
+++
-pre = "<b>4.2. </b>"
+pre = "<b>5.2. </b>"
title = "Roadmap"
weight = 2
chapter = true
+++
## Core
+
- [x] Unified Job Config API
- [x] Core Config
- [x] Type Config
@@ -22,7 +23,8 @@ chapter = true
- [ ] Unified Schedule API
- [ ] Unified Resource API
-## Elastic-Job-Lite
+## ElasticJob Lite
+
- [x] Distributed Features
- [x] High Availability
- [x] Elastic scale in/out
@@ -42,8 +44,8 @@ chapter = true
- [x] Web Console
- [x] Job Dependency
- [x] Listener
- - [ ] Workflow
- [ ] DAG
- [x] Spring Integrate
- [x] Namespace
- - [x] Bean Injection
\ No newline at end of file
+ - [x] Bean Injection
+ - [ ] Spring Boot Starter
diff --git a/docs/content/start/faq.cn.md b/docs/content/faq/_index.cn.md
similarity index 99%
rename from docs/content/start/faq.cn.md
rename to docs/content/faq/_index.cn.md
index 131b379..30add21 100644
--- a/docs/content/start/faq.cn.md
+++ b/docs/content/faq/_index.cn.md
@@ -1,11 +1,10 @@
+++
-pre = "<b>2.4. </b>"
+pre = "<b>7. </b>"
title = "FAQ"
-weight = 4
+weight = 7
chapter = true
+++
-
### 1. 阅读源码时为什么会出现编译错误?
回答:
diff --git a/docs/content/start/faq.en.md b/docs/content/faq/_index.en.md
similarity index 99%
rename from docs/content/start/faq.en.md
rename to docs/content/faq/_index.en.md
index 131b379..30add21 100644
--- a/docs/content/start/faq.en.md
+++ b/docs/content/faq/_index.en.md
@@ -1,11 +1,10 @@
+++
-pre = "<b>2.4. </b>"
+pre = "<b>7. </b>"
title = "FAQ"
-weight = 4
+weight = 7
chapter = true
+++
-
### 1. 阅读源码时为什么会出现编译错误?
回答:
diff --git a/docs/content/features/_index.cn.md b/docs/content/features/_index.cn.md
new file mode 100644
index 0000000..e4e998c
--- /dev/null
+++ b/docs/content/features/_index.cn.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3. </b>"
+title = "概念 & 功能"
+weight = 3
+chapter = true
++++
+
+本章节阐述 ElasticJob 相关的概念与功能,更多使用细节请阅读[用户手册](/cn/user-manual/)。
\ No newline at end of file
diff --git a/docs/content/features/_index.en.md b/docs/content/features/_index.en.md
new file mode 100644
index 0000000..cc9a60d
--- /dev/null
+++ b/docs/content/features/_index.en.md
@@ -0,0 +1,9 @@
++++
+pre = "<b>3. </b>"
+title = "Concepts & Features"
+weight = 3
+chapter = true
++++
+
+This chapter describes concepts and features about ElasticJob.
+Please refer to [User manual](/en/user-manual/) for more details.
diff --git a/docs/content/features/elastic.cn.md b/docs/content/features/elastic.cn.md
new file mode 100644
index 0000000..4c9a4de
--- /dev/null
+++ b/docs/content/features/elastic.cn.md
@@ -0,0 +1,45 @@
++++
+pre = "<b>3.1. </b>"
+title = "弹性调度"
+weight = 1
+chapter = true
++++
+
+## 分片
+
+任务的分布式执行,需要将一个任务拆分为多个独立的任务项,然后由分布式的服务器分别执行某一个或几个分片项。
+
+例如:有一个遍历数据库某张表的作业,现有 2 台服务器。为了快速的执行作业,那么每台服务器应执行作业的 50%。
+为满足此需求,可将作业分成 2 片,每台服务器执行 1 片。作业遍历数据的逻辑应为:服务器 A 遍历 ID 以奇数结尾的数据;服务器 B 遍历 ID 以偶数结尾的数据。
+如果分成 10 片,则作业遍历数据的逻辑应为:每片分到的分片项应为 ID % 10,而服务器A被分配到分片项 0,1,2,3,4;服务器B被分配到分片项 5,6,7,8,9,直接的结果就是服务器A遍历 ID 以 0-4 结尾的数据;服务器 B 遍历 ID 以 5-9 结尾的数据。
+
+### 分片项与业务处理解耦
+
+Elastic-Job 并不直接提供数据处理的功能,框架只会将分片项分配至各个运行中的作业服务器,开发者需要自行处理分片项与真实数据的对应关系。
+
+### 个性化参数
+
+个性化参数即 shardingItemParameter,可以和分片项匹配对应关系,用于将分片项的数字转换为更加可读的业务代码。
+
+例如:按照地区水平拆分数据库,数据库A是北京的数据;数据库 B 是上海的数据;数据库 C 是广州的数据。
+如果仅按照分片项配置,开发者需要了解 0 表示北京;1 表示上海;2 表示广州。
+合理使用个性化参数可以让代码更可读,如果配置为 0=北京,1=上海,2=广州,那么代码中直接使用北京,上海,广州的枚举值即可完成分片项和业务逻辑的对应关系。
+
+## 分布式调度
+
+ElasticJob Lite 并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。
+
+注册中心仅用于作业注册和监控信息存储。而主作业节点仅用于处理分片和清理等功能。
+
+## 高可用
+
+ElasticJob Lite 提供最安全的方式执行作业。将分片总数设置为 1,并使用多于 1 台的服务器执行作业,作业将会以 1 主 n 从的方式执行。
+
+一旦执行作业的服务器崩溃,等待执行的服务器将会在下次作业启动时替补执行。开启失效转移功能效果更好,可以保证在本次作业执行时崩溃,备机立即启动替补执行。
+
+## 最大限度利用资源
+
+ElasticJob Lite 也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。
+
+例如:3 台服务器,分成 10 片,则分片项分配结果为服务器 A=0,1,2;服务器 B=3,4,5;服务器 C=6,7,8,9。
+如果服务器 C 崩溃,则分片项分配结果为服务器 A=0,1,2,3,4;服务器 B=5,6,7,8,9。在不丢失分片项的情况下,最大限度的利用现有资源提高吞吐量。
diff --git a/docs/content/features/elastic.en.md b/docs/content/features/elastic.en.md
new file mode 100644
index 0000000..4c9a4de
--- /dev/null
+++ b/docs/content/features/elastic.en.md
@@ -0,0 +1,45 @@
++++
+pre = "<b>3.1. </b>"
+title = "弹性调度"
+weight = 1
+chapter = true
++++
+
+## 分片
+
+任务的分布式执行,需要将一个任务拆分为多个独立的任务项,然后由分布式的服务器分别执行某一个或几个分片项。
+
+例如:有一个遍历数据库某张表的作业,现有 2 台服务器。为了快速的执行作业,那么每台服务器应执行作业的 50%。
+为满足此需求,可将作业分成 2 片,每台服务器执行 1 片。作业遍历数据的逻辑应为:服务器 A 遍历 ID 以奇数结尾的数据;服务器 B 遍历 ID 以偶数结尾的数据。
+如果分成 10 片,则作业遍历数据的逻辑应为:每片分到的分片项应为 ID % 10,而服务器A被分配到分片项 0,1,2,3,4;服务器B被分配到分片项 5,6,7,8,9,直接的结果就是服务器A遍历 ID 以 0-4 结尾的数据;服务器 B 遍历 ID 以 5-9 结尾的数据。
+
+### 分片项与业务处理解耦
+
+Elastic-Job 并不直接提供数据处理的功能,框架只会将分片项分配至各个运行中的作业服务器,开发者需要自行处理分片项与真实数据的对应关系。
+
+### 个性化参数
+
+个性化参数即 shardingItemParameter,可以和分片项匹配对应关系,用于将分片项的数字转换为更加可读的业务代码。
+
+例如:按照地区水平拆分数据库,数据库A是北京的数据;数据库 B 是上海的数据;数据库 C 是广州的数据。
+如果仅按照分片项配置,开发者需要了解 0 表示北京;1 表示上海;2 表示广州。
+合理使用个性化参数可以让代码更可读,如果配置为 0=北京,1=上海,2=广州,那么代码中直接使用北京,上海,广州的枚举值即可完成分片项和业务逻辑的对应关系。
+
+## 分布式调度
+
+ElasticJob Lite 并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。
+
+注册中心仅用于作业注册和监控信息存储。而主作业节点仅用于处理分片和清理等功能。
+
+## 高可用
+
+ElasticJob Lite 提供最安全的方式执行作业。将分片总数设置为 1,并使用多于 1 台的服务器执行作业,作业将会以 1 主 n 从的方式执行。
+
+一旦执行作业的服务器崩溃,等待执行的服务器将会在下次作业启动时替补执行。开启失效转移功能效果更好,可以保证在本次作业执行时崩溃,备机立即启动替补执行。
+
+## 最大限度利用资源
+
+ElasticJob Lite 也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。
+
+例如:3 台服务器,分成 10 片,则分片项分配结果为服务器 A=0,1,2;服务器 B=3,4,5;服务器 C=6,7,8,9。
+如果服务器 C 崩溃,则分片项分配结果为服务器 A=0,1,2,3,4;服务器 B=5,6,7,8,9。在不丢失分片项的情况下,最大限度的利用现有资源提高吞吐量。
diff --git a/docs/content/features/failover.cn.md b/docs/content/features/failover.cn.md
new file mode 100644
index 0000000..071bd15
--- /dev/null
+++ b/docs/content/features/failover.cn.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.2. </b>"
+title = "失效转移"
+weight = 2
+chapter = true
++++
+
+TODO
\ No newline at end of file
diff --git a/docs/content/features/failover.en.md b/docs/content/features/failover.en.md
new file mode 100644
index 0000000..dd3fc73
--- /dev/null
+++ b/docs/content/features/failover.en.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.2. </b>"
+title = "Failover"
+weight = 2
+chapter = true
++++
+
+TODO
diff --git a/docs/content/features/jobt-ype.cn.md b/docs/content/features/jobt-ype.cn.md
new file mode 100644
index 0000000..6db12a2
--- /dev/null
+++ b/docs/content/features/jobt-ype.cn.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.4. </b>"
+title = "作业开放生态"
+weight = 4
+chapter = true
++++
+
+TODO
diff --git a/docs/content/features/jobt-ype.en.md b/docs/content/features/jobt-ype.en.md
new file mode 100644
index 0000000..2254dfe
--- /dev/null
+++ b/docs/content/features/jobt-ype.en.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.4. </b>"
+title = "Job Open Ecosystem"
+weight = 4
+chapter = true
++++
+
+TODO
diff --git a/docs/content/features/misfired.cn.md b/docs/content/features/misfired.cn.md
new file mode 100644
index 0000000..81bd774
--- /dev/null
+++ b/docs/content/features/misfired.cn.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.3. </b>"
+title = "错过任务重执行"
+weight = 3
+chapter = true
++++
+
+TODO
diff --git a/docs/content/features/misfired.en.md b/docs/content/features/misfired.en.md
new file mode 100644
index 0000000..80e16eb
--- /dev/null
+++ b/docs/content/features/misfired.en.md
@@ -0,0 +1,8 @@
++++
+pre = "<b>3.3. </b>"
+title = "Misfired"
+weight = 3
+chapter = true
++++
+
+TODO
diff --git a/docs/content/overview/_index.cn.md b/docs/content/overview/_index.cn.md
index 53f9df8..fc2978e 100644
--- a/docs/content/overview/_index.cn.md
+++ b/docs/content/overview/_index.cn.md
@@ -5,23 +5,34 @@ weight = 1
chapter = true
+++
-# 概述
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Release)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
+[![GitHub stars](https://img.shields.io/github/stars/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Star)](https://github.com/apache/shardingsphere-elasticjob-lite/stargazers)
+[![GitHub forks](https://img.shields.io/github/forks/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Fork)](https://github.com/apache/shardingsphere-elasticjob-lite/fork)
+[![GitHub watchers](https://img.shields.io/github/watchers/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Watch)](https://github.com/apache/shardingsphere-elasticjob-lite/watchers)
+[![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob-lite.svg)](https://starchart.cc/apache/shardingsphere-elasticjob-lite)
-[![GitHub release](https://img.shields.io/github/release/elasticjob/elastic-job.svg?style=social&label=Release)](https://github.com/elasticjob/elastic-job/releases)
-[![GitHub stars](https://img.shields.io/github/stars/elasticjob/elastic-job.svg?style=social&label=Star)](https://github.com/elasticjob/elastic-job/stargazers)
-[![GitHub forks](https://img.shields.io/github/forks/elasticjob/elastic-job.svg?style=social&label=Fork)](https://github.com/elasticjob/elastic-job/fork)
-[![GitHub watchers](https://img.shields.io/github/watchers/elasticjob/elastic-job.svg?style=social&label=Watch)](https://github.com/elasticjob/elastic-job/watchers)
+ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob Lite 和 ElasticJob Cloud 组成。
-Elastic-Job是一个分布式调度解决方案,由两个相互独立的子项目Elastic-Job-Lite和Elastic-Job-Cloud组成。
+ElasticJob Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务。
-Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形式提供分布式任务的协调服务。
+ElasticJob 已于 2020 年 5 月 28 日成为 [Apache ShardingSphere](https://shardingsphere.apache.org/)的子项目。
+欢迎通过[邮件列表](mailto:dev@shardingsphere.apache.org)参与讨论。
+
+[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
+
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
[![Maven Status](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
-[![Build Status](https://secure.travis-ci.org/elasticjob/elastic-job.png?branch=master)](https://travis-ci.org/elasticjob/elastic-job)
+[![Build Status](https://secure.travis-ci.org/apache/shardingsphere-elasticjob-lite.png?branch=master)](https://travis-ci.org/apache/shardingsphere-elasticjob-lite)
[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
-[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
-# 功能列表
+## 架构图
+
+### ElasticJob Lite
+
+![Elastic-Job-Lite Architecture](https://shardingsphere.apache.org/elasticjob/lite/img/architecture/elastic_job_lite.png)
+
+## 功能列表
* 分布式调度协调
* 弹性扩容缩容
@@ -32,14 +43,5 @@ Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形
* 支持并行调度
* 支持作业生命周期操作
* 丰富的作业类型
-* Spring整合以及命名空间提供
+* Spring 整合以及命名空间提供
* 运维平台
-
-# 交流与参与
-
- - **官方群(目前已满,请加官方2群):** 430066234(仅限于讨论与Elastic-Job相关的话题。我们希望您在入群前仔细阅读文档。并在入群后阅读公告以及修改群名片。谢谢合作。)
- - **官方2群:** 460139727
- - **源码交流群:** 658634669(仅限于讨论与Elastic-Job源码实现相关的话题。我们欢迎您在这里与我们交流Elastic-Job的架构设计、代码实现以及未来线路规划。此群需要对Elastic-Job有先期了解。入群资格:请发布一篇关于Elastic-Job的源码分析的文章并将链接通过官方交流群发送给我们。)
- - 报告确定的bug,提交增强功能建议和提交补丁等,请阅读[如何进行贡献](/00-overview/contribution)。
-
- **使用Elastic-Job的公司如果方便请留下公司+网址** https://github.com/apache/shardingsphere-elasticjob-lite/issues/254
diff --git a/docs/content/overview/_index.en.md b/docs/content/overview/_index.en.md
index e8dd1fd..ba9b541 100644
--- a/docs/content/overview/_index.en.md
+++ b/docs/content/overview/_index.en.md
@@ -5,41 +5,48 @@ weight = 1
chapter = true
+++
-# 概述
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Release)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
+[![GitHub stars](https://img.shields.io/github/stars/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Star)](https://github.com/apache/shardingsphere-elasticjob-lite/stargazers)
+[![GitHub forks](https://img.shields.io/github/forks/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Fork)](https://github.com/apache/shardingsphere-elasticjob-lite/fork)
+[![GitHub watchers](https://img.shields.io/github/watchers/apache/shardingsphere-elasticjob-lite.svg?style=social&label=Watch)](https://github.com/apache/shardingsphere-elasticjob-lite/watchers)
+[![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob-lite.svg)](https://starchart.cc/apache/shardingsphere-elasticjob-lite)
-[![GitHub release](https://img.shields.io/github/release/elasticjob/elastic-job.svg?style=social&label=Release)](https://github.com/elasticjob/elastic-job/releases)
-[![GitHub stars](https://img.shields.io/github/stars/elasticjob/elastic-job.svg?style=social&label=Star)](https://github.com/elasticjob/elastic-job/stargazers)
-[![GitHub forks](https://img.shields.io/github/forks/elasticjob/elastic-job.svg?style=social&label=Fork)](https://github.com/elasticjob/elastic-job/fork)
-[![GitHub watchers](https://img.shields.io/github/watchers/elasticjob/elastic-job.svg?style=social&label=Watch)](https://github.com/elasticjob/elastic-job/watchers)
+ElasticJob is a distributed scheduled job solution.
+It is composited from 2 independent sub projects: ElasticJob Lite and ElasticJob Cloud.
-Elastic-Job是一个分布式调度解决方案,由两个相互独立的子项目Elastic-Job-Lite和Elastic-Job-Cloud组成。
+ElasticJob Lite is a centre-less solution, use lightweight jar to coordinate distributed jobs.
-Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形式提供分布式任务的协调服务。
+ElasticJob Lite and ElasticJob Cloud provide unified API.
+Developers only need code one time, then decide to deploy Lite or Cloud as you want.
+
+ElasticJob became an [Apache ShardingSphere](https://shardingsphere.apache.org/) Sub project on May 28 2020.
+
+Welcome communicate with community via [mail list](mailto:dev@shardingsphere.apache.org).
+
+[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
+
+[![GitHub release](https://img.shields.io/github/release/apache/shardingsphere-elasticjob-lite.svg)](https://github.com/apache/shardingsphere-elasticjob-lite/releases)
[![Maven Status](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
-[![Build Status](https://secure.travis-ci.org/elasticjob/elastic-job.png?branch=master)](https://travis-ci.org/elasticjob/elastic-job)
+[![Build Status](https://secure.travis-ci.org/apache/shardingsphere-elasticjob-lite.png?branch=master)](https://travis-ci.org/apache/shardingsphere-elasticjob-lite)
[![Coverage Status](https://coveralls.io/repos/elasticjob/elastic-job/badge.svg?branch=master&service=github)](https://coveralls.io/github/elasticjob/elastic-job?branch=master)
-[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
-# 功能列表
-
-* 分布式调度协调
-* 弹性扩容缩容
-* 失效转移
-* 错过执行作业重触发
-* 作业分片一致性,保证同一分片在分布式环境中仅一个执行实例
-* 自诊断并修复分布式不稳定造成的问题
-* 支持并行调度
-* 支持作业生命周期操作
-* 丰富的作业类型
-* Spring整合以及命名空间提供
-* 运维平台
-
-# 交流与参与
-
- - **官方群(目前已满,请加官方2群):** 430066234(仅限于讨论与Elastic-Job相关的话题。我们希望您在入群前仔细阅读文档。并在入群后阅读公告以及修改群名片。谢谢合作。)
- - **官方2群:** 460139727
- - **源码交流群:** 658634669(仅限于讨论与Elastic-Job源码实现相关的话题。我们欢迎您在这里与我们交流Elastic-Job的架构设计、代码实现以及未来线路规划。此群需要对Elastic-Job有先期了解。入群资格:请发布一篇关于Elastic-Job的源码分析的文章并将链接通过官方交流群发送给我们。)
- - 报告确定的bug,提交增强功能建议和提交补丁等,请阅读[如何进行贡献](/00-overview/contribution)。
-
- **使用Elastic-Job的公司如果方便请留下公司+网址** https://github.com/apache/shardingsphere-elasticjob-lite/issues/254
+## Architecture
+
+### Elastic-Job-Lite
+
+![Elastic-Job-Lite Architecture](docs/static/img/architecture/elastic_job_lite.png)
+
+## Features
+
+* Distributed schedule job coordinate
+* Elastic scale in and scale out supported
+* Failover
+* Misfired jobs refire
+* Sharding consistently, same sharding item for a job only one running instance
+* Self diagnose and recover when distribute environment unstable
+* Parallel scheduling supported
+* Job lifecycle operation
+* Lavish job types
+* Spring integrated and namespace supported
+* Web console
diff --git a/docs/content/overview/intro.cn.md b/docs/content/overview/intro.cn.md
deleted file mode 100644
index eb3c07d..0000000
--- a/docs/content/overview/intro.cn.md
+++ /dev/null
@@ -1,122 +0,0 @@
-+++
-pre = "<b>1.1. </b>"
-title = "简介"
-weight = 1
-chapter = true
-+++
-
-Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形式提供最轻量级的分布式任务的协调服务,外部依赖仅Zookeeper。
-
-# 基本概念
-
-## 1. 分片概念
-
-任务的分布式执行,需要将一个任务拆分为多个独立的任务项,然后由分布式的服务器分别执行某一个或几个分片项。
-
-例如:有一个遍历数据库某张表的作业,现有2台服务器。为了快速的执行作业,那么每台服务器应执行作业的50%。
-为满足此需求,可将作业分成2片,每台服务器执行1片。作业遍历数据的逻辑应为:服务器A遍历ID以奇数结尾的数据;服务器B遍历ID以偶数结尾的数据。
-如果分成10片,则作业遍历数据的逻辑应为:每片分到的分片项应为ID%10,而服务器A被分配到分片项0,1,2,3,4;服务器B被分配到分片项5,6,7,8,9,直接的结果就是服务器A遍历ID以0-4结尾的数据;服务器B遍历ID以5-9结尾的数据。
-
-## 2. 分片项与业务处理解耦
-
-Elastic-Job并不直接提供数据处理的功能,框架只会将分片项分配至各个运行中的作业服务器,开发者需要自行处理分片项与真实数据的对应关系。
-
-## 3. 个性化参数的适用场景
-
-个性化参数即shardingItemParameter,可以和分片项匹配对应关系,用于将分片项的数字转换为更加可读的业务代码。
-
-例如:按照地区水平拆分数据库,数据库A是北京的数据;数据库B是上海的数据;数据库C是广州的数据。
-如果仅按照分片项配置,开发者需要了解0表示北京;1表示上海;2表示广州。
-合理使用个性化参数可以让代码更可读,如果配置为0=北京,1=上海,2=广州,那么代码中直接使用北京,上海,广州的枚举值即可完成分片项和业务逻辑的对应关系。
-
-# 核心理念
-
-## 1. 分布式调度
-
-Elastic-Job-Lite并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。
-
-注册中心仅用于作业注册和监控信息存储。而主作业节点仅用于处理分片和清理等功能。
-
-## 2. 作业高可用
-
-Elastic-Job-Lite提供最安全的方式执行作业。将分片总数设置为1,并使用多于1台的服务器执行作业,作业将会以1主n从的方式执行。
-
-一旦执行作业的服务器崩溃,等待执行的服务器将会在下次作业启动时替补执行。开启失效转移功能效果更好,可以保证在本次作业执行时崩溃,备机立即启动替补执行。
-
-## 3. 最大限度利用资源
-
-Elastic-Job-Lite也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。
-
-例如:3台服务器,分成10片,则分片项分配结果为服务器A=0,1,2;服务器B=3,4,5;服务器C=6,7,8,9。
-如果服务器C崩溃,则分片项分配结果为服务器A=0,1,2,3,4;服务器B=5,6,7,8,9。在不丢失分片项的情况下,最大限度的利用现有资源提高吞吐量。
-
-# 整体架构图
-
-![Elastic-Job-Lite Architecture](https://shardingsphere.apache.org/elasticjob/lite/img/architecture/elastic_job_lite.png)
-
-
-# 快速入门
-
-## 引入maven依赖
-
-```xml
-<!-- 引入elastic-job-lite核心模块 -->
-<dependency>
- <groupId>io.elasticjob</groupId>
- <artifactId>elastic-job-lite-core</artifactId>
- <version>${latest.release.version}</version>
-</dependency>
-
-<!-- 使用springframework自定义命名空间时引入 -->
-<dependency>
- <groupId>io.elasticjob</groupId>
- <artifactId>elastic-job-lite-spring</artifactId>
- <version>${latest.release.version}</version>
-</dependency>
-```
-## 作业开发
-
-```java
-public class MyElasticJob implements SimpleJob {
-
- @Override
- public void execute(ShardingContext context) {
- switch (context.getShardingItem()) {
- case 0:
- // do something by sharding item 0
- break;
- case 1:
- // do something by sharding item 1
- break;
- case 2:
- // do something by sharding item 2
- break;
- // case n: ...
- }
- }
-}
-```
-
-## 作业配置
-
-```xml
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:elasticjob="http://elasticjob.shardingsphere.apache.org/schema/elasticjob"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://elasticjob.shardingsphere.apache.org/schema/elasticjob
- http://elasticjob.shardingsphere.apache.org/schema/elasticjob/elasticjob.xsd
- ">
- <!--配置作业注册中心 -->
- <elasticjob:zookeeper id="regCenter" server-lists="yourhost:2181" namespace="dd-job" base-sleep-time-milliseconds="1000" max-sleep-time-milliseconds="3000" max-retries="3" />
-
- <bean id="yourRefJobBeanId" class="xxx.MySimpleRefElasticJob">
- <property name="fooService" ref="xxx.FooService"/>
- </bean>
-
- <!-- 配置作业-->
- <elasticjob:job id="oneOffElasticJob" job-ref="yourRefJobBeanId" registry-center-ref="regCenter" cron="0/10 * * * * ?" sharding-total-count="3" sharding-item-parameters="0=A,1=B,2=C" />
-</beans>
-```
diff --git a/docs/content/overview/intro.en.md b/docs/content/overview/intro.en.md
deleted file mode 100644
index ead21c3..0000000
--- a/docs/content/overview/intro.en.md
+++ /dev/null
@@ -1,122 +0,0 @@
-+++
-pre = "<b>1.1. </b>"
-title = "Intro"
-weight = 1
-chapter = true
-+++
-
-Elastic-Job-Lite定位为轻量级无中心化解决方案,使用jar包的形式提供最轻量级的分布式任务的协调服务,外部依赖仅Zookeeper。
-
-# 基本概念
-
-## 1. 分片概念
-
-任务的分布式执行,需要将一个任务拆分为多个独立的任务项,然后由分布式的服务器分别执行某一个或几个分片项。
-
-例如:有一个遍历数据库某张表的作业,现有2台服务器。为了快速的执行作业,那么每台服务器应执行作业的50%。
-为满足此需求,可将作业分成2片,每台服务器执行1片。作业遍历数据的逻辑应为:服务器A遍历ID以奇数结尾的数据;服务器B遍历ID以偶数结尾的数据。
-如果分成10片,则作业遍历数据的逻辑应为:每片分到的分片项应为ID%10,而服务器A被分配到分片项0,1,2,3,4;服务器B被分配到分片项5,6,7,8,9,直接的结果就是服务器A遍历ID以0-4结尾的数据;服务器B遍历ID以5-9结尾的数据。
-
-## 2. 分片项与业务处理解耦
-
-Elastic-Job并不直接提供数据处理的功能,框架只会将分片项分配至各个运行中的作业服务器,开发者需要自行处理分片项与真实数据的对应关系。
-
-## 3. 个性化参数的适用场景
-
-个性化参数即shardingItemParameter,可以和分片项匹配对应关系,用于将分片项的数字转换为更加可读的业务代码。
-
-例如:按照地区水平拆分数据库,数据库A是北京的数据;数据库B是上海的数据;数据库C是广州的数据。
-如果仅按照分片项配置,开发者需要了解0表示北京;1表示上海;2表示广州。
-合理使用个性化参数可以让代码更可读,如果配置为0=北京,1=上海,2=广州,那么代码中直接使用北京,上海,广州的枚举值即可完成分片项和业务逻辑的对应关系。
-
-# 核心理念
-
-## 1. 分布式调度
-
-Elastic-Job-Lite并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。
-
-注册中心仅用于作业注册和监控信息存储。而主作业节点仅用于处理分片和清理等功能。
-
-## 2. 作业高可用
-
-Elastic-Job-Lite提供最安全的方式执行作业。将分片总数设置为1,并使用多于1台的服务器执行作业,作业将会以1主n从的方式执行。
-
-一旦执行作业的服务器崩溃,等待执行的服务器将会在下次作业启动时替补执行。开启失效转移功能效果更好,可以保证在本次作业执行时崩溃,备机立即启动替补执行。
-
-## 3. 最大限度利用资源
-
-Elastic-Job-Lite也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。
-
-例如:3台服务器,分成10片,则分片项分配结果为服务器A=0,1,2;服务器B=3,4,5;服务器C=6,7,8,9。
-如果服务器C崩溃,则分片项分配结果为服务器A=0,1,2,3,4;服务器B=5,6,7,8,9。在不丢失分片项的情况下,最大限度的利用现有资源提高吞吐量。
-
-# 整体架构图
-
-![Elastic-Job-Lite Architecture](https://shardingsphere.apache.org/elasticjob/lite/img/architecture/elastic_job_lite.png)
-
-
-# 快速入门
-
-## 引入maven依赖
-
-```xml
-<!-- 引入elastic-job-lite核心模块 -->
-<dependency>
- <groupId>io.elasticjob</groupId>
- <artifactId>elastic-job-lite-core</artifactId>
- <version>${latest.release.version}</version>
-</dependency>
-
-<!-- 使用springframework自定义命名空间时引入 -->
-<dependency>
- <groupId>io.elasticjob</groupId>
- <artifactId>elastic-job-lite-spring</artifactId>
- <version>${latest.release.version}</version>
-</dependency>
-```
-## 作业开发
-
-```java
-public class MyElasticJob implements SimpleJob {
-
- @Override
- public void execute(ShardingContext context) {
- switch (context.getShardingItem()) {
- case 0:
- // do something by sharding item 0
- break;
- case 1:
- // do something by sharding item 1
- break;
- case 2:
- // do something by sharding item 2
- break;
- // case n: ...
- }
- }
-}
-```
-
-## 作业配置
-
-```xml
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:elasticjob="http://elasticjob.shardingsphere.apache.org/schema/elasticjob"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://elasticjob.shardingsphere.apache.org/schema/elasticjob
- http://elasticjob.shardingsphere.apache.org/schema/elasticjob/elasticjob.xsd
- ">
- <!--配置作业注册中心 -->
- <elasticjob:zookeeper id="regCenter" server-lists="yourhost:2181" namespace="dd-job" base-sleep-time-milliseconds="1000" max-sleep-time-milliseconds="3000" max-retries="3" />
-
- <bean id="yourRefJobBeanId" class="xxx.MySimpleRefElasticJob">
- <property name="fooService" ref="xxx.FooService"/>
- </bean>
-
- <!-- 配置作业-->
- <elasticjob:job id="oneOffElasticJob" job-ref="yourRefJobBeanId" registry-center-ref="regCenter" cron="0/10 * * * * ?" sharding-total-count="3" sharding-item-parameters="0=A,1=B,2=C" />
-</beans>
-```
diff --git a/docs/content/powered-by/_index.cn.md b/docs/content/powered-by/_index.cn.md
index e0b4b0b..b2cc24d 100644
--- a/docs/content/powered-by/_index.cn.md
+++ b/docs/content/powered-by/_index.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>5. </b>"
+pre = "<b>6. </b>"
title = "采用公司"
-weight = 5
+weight = 6
chapter = true
+++
diff --git a/docs/content/powered-by/_index.en.md b/docs/content/powered-by/_index.en.md
index 1a04ab1..72fa800 100644
--- a/docs/content/powered-by/_index.en.md
+++ b/docs/content/powered-by/_index.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>5. </b>"
+pre = "<b>6. </b>"
title = "Powered By"
-weight = 5
+weight = 6
chapter = true
+++
diff --git a/docs/content/start/quick-start.cn.md b/docs/content/quick-start/_index.cn.md
similarity index 92%
rename from docs/content/start/quick-start.cn.md
rename to docs/content/quick-start/_index.cn.md
index 59f439f..013858e 100644
--- a/docs/content/start/quick-start.cn.md
+++ b/docs/content/quick-start/_index.cn.md
@@ -1,13 +1,13 @@
+++
-pre = "<b>2.1. </b>"
+pre = "<b>2. </b>"
title = "快速入门"
-weight = 1
+weight = 2
chapter = true
+++
-## 1. 使用API配置启动
+## 1. 使用 API 配置启动
-### 引入maven依赖
+### 引入 maven 依赖
```xml
<dependency>
@@ -73,7 +73,7 @@ public class JobDemo {
}
```
-## 2. 使用Spring配置启动
+## 2. 使用 Spring 配置启动
```xml
<dependency>
@@ -84,7 +84,8 @@ public class JobDemo {
```
### 作业开发
-同使用API配置中作业开发
+
+同使用 API 配置中作业开发
### 作业配置
@@ -114,6 +115,4 @@ public class JobDemo {
### 启动作业
-将配置Spring命名空间的xml通过Spring启动,作业将自动加载。
-
->详细的规则配置请参考[配置手册](/02-guide/config-manual)
\ No newline at end of file
+将配置 Spring 命名空间的 xml 通过 Spring 启动,作业将自动加载。
diff --git a/docs/content/start/quick-start.en.md b/docs/content/quick-start/_index.en.md
similarity index 92%
rename from docs/content/start/quick-start.en.md
rename to docs/content/quick-start/_index.en.md
index 79ada85..f880dfb 100644
--- a/docs/content/start/quick-start.en.md
+++ b/docs/content/quick-start/_index.en.md
@@ -1,13 +1,13 @@
+++
-pre = "<b>2.1. </b>"
+pre = "<b>2. </b>"
title = "Quick Start"
-weight = 1
+weight = 2
chapter = true
+++
-## 1. 使用API配置启动
+## 1. 使用 API 配置启动
-### 引入maven依赖
+### 引入 maven 依赖
```xml
<dependency>
@@ -73,7 +73,7 @@ public class JobDemo {
}
```
-## 2. 使用Spring配置启动
+## 2. 使用 Spring 配置启动
```xml
<dependency>
@@ -84,7 +84,8 @@ public class JobDemo {
```
### 作业开发
-同使用API配置中作业开发
+
+同使用 API 配置中作业开发
### 作业配置
@@ -114,6 +115,4 @@ public class JobDemo {
### 启动作业
-将配置Spring命名空间的xml通过Spring启动,作业将自动加载。
-
->详细的规则配置请参考[配置手册](/02-guide/config-manual)
\ No newline at end of file
+将配置 Spring 命名空间的 xml 通过 Spring 启动,作业将自动加载。
diff --git a/docs/content/start/_index.cn.md b/docs/content/start/_index.cn.md
deleted file mode 100644
index 7a730d2..0000000
--- a/docs/content/start/_index.cn.md
+++ /dev/null
@@ -1,12 +0,0 @@
-+++
-pre = "<b>2. </b>"
-title = "起航"
-weight = 2
-chapter = true
-+++
-
-# 本章导航
-
- - 如果想快速体验Elastic-Job-Lite的强大功能,请阅读[快速入门](/01-start/quick-start)。
- - 如果在使用中遇到什么问题,请首先在[FAQ](/01-start/faq)中寻找解决问题的答案。
- - 想要在自己的项目中集成Elastic-Job-Lite,您一定很关心它[如何开发](/01-start/dev-guide)及[如何部署](/01-start/deploy-guide)。
diff --git a/docs/content/start/_index.en.md b/docs/content/start/_index.en.md
deleted file mode 100644
index 8225fdc..0000000
--- a/docs/content/start/_index.en.md
+++ /dev/null
@@ -1,12 +0,0 @@
-+++
-pre = "<b>2. </b>"
-title = "Start"
-weight = 2
-chapter = true
-+++
-
-# 本章导航
-
- - 如果想快速体验Elastic-Job-Lite的强大功能,请阅读[快速入门](/01-start/quick-start)。
- - 如果在使用中遇到什么问题,请首先在[FAQ](/01-start/faq)中寻找解决问题的答案。
- - 想要在自己的项目中集成Elastic-Job-Lite,您一定很关心它[如何开发](/01-start/dev-guide)及[如何部署](/01-start/deploy-guide)。
diff --git a/docs/content/guide/_index.cn.md b/docs/content/user-manual/_index.cn.md
similarity index 95%
rename from docs/content/guide/_index.cn.md
rename to docs/content/user-manual/_index.cn.md
index 0771c77..6481ca6 100644
--- a/docs/content/guide/_index.cn.md
+++ b/docs/content/user-manual/_index.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3. </b>"
-title = "使用指南"
-weight = 3
+pre = "<b>4. </b>"
+title = "用户手册"
+weight = 4
chapter = true
+++
diff --git a/docs/content/guide/_index.en.md b/docs/content/user-manual/_index.en.md
similarity index 95%
rename from docs/content/guide/_index.en.md
rename to docs/content/user-manual/_index.en.md
index f0d51e6..fbeffd2 100644
--- a/docs/content/guide/_index.en.md
+++ b/docs/content/user-manual/_index.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3. </b>"
-title = "Guide"
-weight = 3
+pre = "<b>4. </b>"
+title = "User Manual"
+weight = 4
chapter = true
+++
diff --git a/docs/content/guide/customized-hook.cn.md b/docs/content/user-manual/customized-hook.cn.md
similarity index 91%
rename from docs/content/guide/customized-hook.cn.md
rename to docs/content/user-manual/customized-hook.cn.md
index 043b9d2..f1500d4 100644
--- a/docs/content/guide/customized-hook.cn.md
+++ b/docs/content/user-manual/customized-hook.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.10. </b>"
+pre = "<b>4.7. </b>"
title = "定制化处理"
-weight = 10
+weight = 7
chapter = true
+++
diff --git a/docs/content/guide/customized-hook.en.md b/docs/content/user-manual/customized-hook.en.md
similarity index 94%
rename from docs/content/guide/customized-hook.en.md
rename to docs/content/user-manual/customized-hook.en.md
index 5f5e9c5..5888305 100644
--- a/docs/content/guide/customized-hook.en.md
+++ b/docs/content/user-manual/customized-hook.en.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>3.10. </b>"
+pre = "<b>4.7. </b>"
title = "Customization"
weight = 10
chapter = true
diff --git a/docs/content/start/deploy-guide.cn.md b/docs/content/user-manual/deploy-guide.cn.md
similarity index 94%
rename from docs/content/start/deploy-guide.cn.md
rename to docs/content/user-manual/deploy-guide.cn.md
index 644c9ce..ec3d221 100644
--- a/docs/content/start/deploy-guide.cn.md
+++ b/docs/content/user-manual/deploy-guide.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>2.3. </b>"
+pre = "<b>4.10. </b>"
title = "部署指南"
-weight = 3
+weight = 10
chapter = true
+++
diff --git a/docs/content/start/deploy-guide.en.md b/docs/content/user-manual/deploy-guide.en.md
similarity index 94%
rename from docs/content/start/deploy-guide.en.md
rename to docs/content/user-manual/deploy-guide.en.md
index 51725d1..3defc74 100644
--- a/docs/content/start/deploy-guide.en.md
+++ b/docs/content/user-manual/deploy-guide.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>2.3. </b>"
+pre = "<b>4.10. </b>"
title = "Deploy Guide"
-weight = 3
+weight = 10
chapter = true
+++
diff --git a/docs/content/guide/dump.cn.md b/docs/content/user-manual/dump.cn.md
similarity index 98%
rename from docs/content/guide/dump.cn.md
rename to docs/content/user-manual/dump.cn.md
index fb10cae..4f0fd0d 100644
--- a/docs/content/guide/dump.cn.md
+++ b/docs/content/user-manual/dump.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.6. </b>"
+pre = "<b>4.8. </b>"
title = "Dump 作业运行信息"
-weight = 6
+weight = 8
chapter = true
+++
diff --git a/docs/content/guide/dump.en.md b/docs/content/user-manual/dump.en.md
similarity index 99%
rename from docs/content/guide/dump.en.md
rename to docs/content/user-manual/dump.en.md
index a824bbf..81edbe6 100644
--- a/docs/content/guide/dump.en.md
+++ b/docs/content/user-manual/dump.en.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>3.6. </b>"
+pre = "<b>4.8. </b>"
title = "Dump Job Runtime Info"
weight = 6
chapter = true
diff --git a/docs/content/guide/event-trace.cn.md b/docs/content/user-manual/event-trace.cn.md
similarity index 99%
rename from docs/content/guide/event-trace.cn.md
rename to docs/content/user-manual/event-trace.cn.md
index 6fcca87..c4892e4 100644
--- a/docs/content/guide/event-trace.cn.md
+++ b/docs/content/user-manual/event-trace.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.4. </b>"
+pre = "<b>4.6. </b>"
title = "事件追踪"
-weight = 4
+weight = 6
chapter = true
+++
diff --git a/docs/content/guide/event-trace.en.md b/docs/content/user-manual/event-trace.en.md
similarity index 99%
rename from docs/content/guide/event-trace.en.md
rename to docs/content/user-manual/event-trace.en.md
index 9800c68..bb4a2cc 100644
--- a/docs/content/guide/event-trace.en.md
+++ b/docs/content/user-manual/event-trace.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.4. </b>"
+pre = "<b>4.6. </b>"
title = "Event Trace"
-weight = 4
+weight = 6
chapter = true
+++
diff --git a/docs/content/guide/execution-monitor.cn.md b/docs/content/user-manual/execution-monitor.cn.md
similarity index 91%
rename from docs/content/guide/execution-monitor.cn.md
rename to docs/content/user-manual/execution-monitor.cn.md
index 9a94c20..156f10a 100644
--- a/docs/content/guide/execution-monitor.cn.md
+++ b/docs/content/user-manual/execution-monitor.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.5. </b>"
+pre = "<b>4.9. </b>"
title = "作业运行状态监控"
-weight = 5
+weight = 9
chapter = true
+++
diff --git a/docs/content/guide/execution-monitor.en.md b/docs/content/user-manual/execution-monitor.en.md
similarity index 91%
rename from docs/content/guide/execution-monitor.en.md
rename to docs/content/user-manual/execution-monitor.en.md
index 9e957ee..1d0eaba 100644
--- a/docs/content/guide/execution-monitor.en.md
+++ b/docs/content/user-manual/execution-monitor.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.5. </b>"
+pre = "<b>4.9. </b>"
title = "Execution Monitor"
-weight = 5
+weight = 9
chapter = true
+++
diff --git a/docs/content/start/dev-guide.cn.md b/docs/content/user-manual/job-api.cn.md
similarity index 99%
rename from docs/content/start/dev-guide.cn.md
rename to docs/content/user-manual/job-api.cn.md
index 129d773..8c0e0a9 100644
--- a/docs/content/start/dev-guide.cn.md
+++ b/docs/content/user-manual/job-api.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>2.2. </b>"
-title = "开发指南"
-weight = 2
+pre = "<b>4.1. </b>"
+title = "作业 API"
+weight = 1
chapter = true
+++
diff --git a/docs/content/start/dev-guide.en.md b/docs/content/user-manual/job-api.en.md
similarity index 99%
rename from docs/content/start/dev-guide.en.md
rename to docs/content/user-manual/job-api.en.md
index c784bfb..5d43b22 100644
--- a/docs/content/start/dev-guide.en.md
+++ b/docs/content/user-manual/job-api.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>2.2. </b>"
-title = "Dev Guide"
-weight = 2
+pre = "<b>4.1. </b>"
+title = "Job API"
+weight = 1
chapter = true
+++
diff --git a/docs/content/guide/config-manual.cn.md b/docs/content/user-manual/job-config.cn.md
similarity index 99%
rename from docs/content/guide/config-manual.cn.md
rename to docs/content/user-manual/job-config.cn.md
index c8d27cc..5b3fb0d 100644
--- a/docs/content/guide/config-manual.cn.md
+++ b/docs/content/user-manual/job-config.cn.md
@@ -1,6 +1,6 @@
+++
-pre = "<b>3.2. </b>"
-title = "配置手册"
+pre = "<b>4.2. </b>"
+title = "作业配置"
weight = 2
chapter = true
+++
diff --git a/docs/content/guide/config-manual.en.md b/docs/content/user-manual/job-config.en.md
similarity index 99%
rename from docs/content/guide/config-manual.en.md
rename to docs/content/user-manual/job-config.en.md
index 2a834ac..83f4270 100644
--- a/docs/content/guide/config-manual.en.md
+++ b/docs/content/user-manual/job-config.en.md
@@ -1,6 +1,6 @@
+++
-pre = "<b>3.2. </b>"
-title = "Config Manual"
+pre = "<b>4.2. </b>"
+title = "Job Configuration"
weight = 2
chapter = true
+++
@@ -136,4 +136,4 @@ elasticjob:distributed-listener必须配置为elasticjob:job的子元素,并
| ------------------------------ |:-------|:-------|:---------------|:--------------------------------------------------------------------------|
| class | String | 是 | | 前置后置任务分布式监听实现类,需继承AbstractDistributeOnceElasticJobListener类 |
| started-timeout-milliseconds | long | 否 | Long.MAX_VALUE | 最后一个作业执行前的执行方法的超时时间<br />单位:毫秒 |
-| completed-timeout-milliseconds | long | 否 | Long.MAX_VALUE | 最后一个作业执行后的执行方法的超时时间<br />单位:毫秒 |
\ No newline at end of file
+| completed-timeout-milliseconds | long | 否 | Long.MAX_VALUE | 最后一个作业执行后的执行方法的超时时间<br />单位:毫秒 |
diff --git a/docs/content/guide/job-listener.cn.md b/docs/content/user-manual/job-listener.cn.md
similarity index 99%
rename from docs/content/guide/job-listener.cn.md
rename to docs/content/user-manual/job-listener.cn.md
index 131e860..dbbe287 100644
--- a/docs/content/guide/job-listener.cn.md
+++ b/docs/content/user-manual/job-listener.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.7. </b>"
+pre = "<b>4.4. </b>"
title = "作业监听器"
-weight = 7
+weight = 4
chapter = true
+++
diff --git a/docs/content/guide/job-listener.en.md b/docs/content/user-manual/job-listener.en.md
similarity index 99%
rename from docs/content/guide/job-listener.en.md
rename to docs/content/user-manual/job-listener.en.md
index 8f22a11..6483ebf 100644
--- a/docs/content/guide/job-listener.en.md
+++ b/docs/content/user-manual/job-listener.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.7. </b>"
+pre = "<b>4.4. </b>"
title = "Job Listener"
-weight = 7
+weight = 4
chapter = true
+++
diff --git a/docs/content/guide/job-reconcile.cn.md b/docs/content/user-manual/job-reconcile.cn.md
similarity index 98%
rename from docs/content/guide/job-reconcile.cn.md
rename to docs/content/user-manual/job-reconcile.cn.md
index 4d02961..b328c03 100644
--- a/docs/content/guide/job-reconcile.cn.md
+++ b/docs/content/user-manual/job-reconcile.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.8. </b>"
+pre = "<b>4.5. </b>"
title = "自诊断修复"
-weight = 8
+weight = 5
chapter = true
+++
diff --git a/docs/content/guide/job-reconcile.en.md b/docs/content/user-manual/job-reconcile.en.md
similarity index 98%
rename from docs/content/guide/job-reconcile.en.md
rename to docs/content/user-manual/job-reconcile.en.md
index 1de4f92..dceb642 100644
--- a/docs/content/guide/job-reconcile.en.md
+++ b/docs/content/user-manual/job-reconcile.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.8. </b>"
+pre = "<b>4.5. </b>"
title = "Reconcile"
-weight = 8
+weight = 5
chapter = true
+++
diff --git a/docs/content/guide/job-sharding-strategy.cn.md b/docs/content/user-manual/job-sharding-strategy.cn.md
similarity index 99%
rename from docs/content/guide/job-sharding-strategy.cn.md
rename to docs/content/user-manual/job-sharding-strategy.cn.md
index 037197d..d852ea9 100644
--- a/docs/content/guide/job-sharding-strategy.cn.md
+++ b/docs/content/user-manual/job-sharding-strategy.cn.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>3.3. </b>"
+pre = "<b>4.3. </b>"
title = "作业分片策略"
weight = 3
chapter = true
diff --git a/docs/content/guide/job-sharding-strategy.en.md b/docs/content/user-manual/job-sharding-strategy.en.md
similarity index 99%
rename from docs/content/guide/job-sharding-strategy.en.md
rename to docs/content/user-manual/job-sharding-strategy.en.md
index c305bd3..e6e3f7d 100644
--- a/docs/content/guide/job-sharding-strategy.en.md
+++ b/docs/content/user-manual/job-sharding-strategy.en.md
@@ -1,5 +1,5 @@
+++
-pre = "<b>3.3. </b>"
+pre = "<b>4.3. </b>"
title = "Job Sharding Strategy"
weight = 3
chapter = true
diff --git a/docs/content/guide/operation-manual.cn.md b/docs/content/user-manual/operation-manual.cn.md
similarity index 98%
rename from docs/content/guide/operation-manual.cn.md
rename to docs/content/user-manual/operation-manual.cn.md
index 147e56c..742c731 100644
--- a/docs/content/guide/operation-manual.cn.md
+++ b/docs/content/user-manual/operation-manual.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.9. </b>"
+pre = "<b>4.12. </b>"
title = "操作手册"
-weight = 9
+weight = 12
chapter = true
+++
diff --git a/docs/content/guide/operation-manual.en.md b/docs/content/user-manual/operation-manual.en.md
similarity index 98%
rename from docs/content/guide/operation-manual.en.md
rename to docs/content/user-manual/operation-manual.en.md
index ba82aa9..9272819 100644
--- a/docs/content/guide/operation-manual.en.md
+++ b/docs/content/user-manual/operation-manual.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.9. </b>"
+pre = "<b>4.12. </b>"
title = "Operator"
-weight = 9
+weight = 12
chapter = true
+++
@@ -24,7 +24,7 @@ chapter = true
##### void removeJobConfiguration(String jobName) 删除作业设置.
* **Parameters:** jobName — 作业名称
-
+
### 2. 操作类API
#### 2.1 `JobOperateAPI` 操作作业的API
diff --git a/docs/content/guide/web-console.cn.md b/docs/content/user-manual/web-console.cn.md
similarity index 97%
rename from docs/content/guide/web-console.cn.md
rename to docs/content/user-manual/web-console.cn.md
index ea0e912..e1894d4 100644
--- a/docs/content/guide/web-console.cn.md
+++ b/docs/content/user-manual/web-console.cn.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.1. </b>"
+pre = "<b>4.11. </b>"
title = "运维平台"
-weight = 1
+weight = 11
chapter = true
+++
diff --git a/docs/content/guide/web-console.en.md b/docs/content/user-manual/web-console.en.md
similarity index 97%
rename from docs/content/guide/web-console.en.md
rename to docs/content/user-manual/web-console.en.md
index 5724c66..86be960 100644
--- a/docs/content/guide/web-console.en.md
+++ b/docs/content/user-manual/web-console.en.md
@@ -1,7 +1,7 @@
+++
-pre = "<b>3.1. </b>"
+pre = "<b>4.11. </b>"
title = "Console"
-weight = 1
+weight = 11
chapter = true
+++