You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2022/12/02 08:09:53 UTC
[shardingsphere] branch master updated: Update example generator doc (#22588)
This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 6c047109020 Update example generator doc (#22588)
6c047109020 is described below
commit 6c0471090202108390afdabc2d64cc2d784983f0
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Dec 2 16:09:47 2022 +0800
Update example generator doc (#22588)
---
examples/shardingsphere-example-generator/README.md | 6 +++---
.../shardingsphere-example-generator/README_ZH.md | 20 ++++++++++----------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/examples/shardingsphere-example-generator/README.md b/examples/shardingsphere-example-generator/README.md
index 6e9a34d23b8..72691678ac1 100644
--- a/examples/shardingsphere-example-generator/README.md
+++ b/examples/shardingsphere-example-generator/README.md
@@ -1,6 +1,6 @@
# Example codes generator of ShardingSphere
-Project uses freemarker template engine to generate example codes of ShardingSphere.
+Project uses template engine to generate example codes of ShardingSphere.
## Usage
@@ -17,10 +17,10 @@ Generated codes: `target/generated-sources/shardingsphere-${product}-sample`
## Configuration Item Explanation
| *Name* | *Description* | *Options* |
-|:----------- | ----------------- |:-------------------------------------------------------------------------------------------------------------------------------------|
+| :---------- | ----------------- | :----------------------------------------------------------------------------------------------------------------------------------- |
| product | product | jdbc, proxy |
| mode | operating mode | cluster-zookeeper, cluster-etcd, standalone |
-| transaction | transaction type | local, xa-atomikos, xa-narayana |
+| transaction | transaction type | local, xa-atomikos, xa-narayana |
| features | feature set | sharding, readwrite-splitting, db-discovery, encrypt |
| frameworks | framework set | jdbc, spring-boot-starter-jdbc, spring-boot-starter-jpa, spring-boot-starter-mybatis, spring-namespace-jpa, spring-namespace-mybatis |
| host | database host | |
diff --git a/examples/shardingsphere-example-generator/README_ZH.md b/examples/shardingsphere-example-generator/README_ZH.md
index 954febec69c..f795292fbae 100644
--- a/examples/shardingsphere-example-generator/README_ZH.md
+++ b/examples/shardingsphere-example-generator/README_ZH.md
@@ -1,6 +1,6 @@
# ShardingSphere 使用示例代码生成器
-项目基于 freemarker 模板引擎生成 ShardingSphere 使用示例代码。
+基于模板引擎生成 ShardingSphere 使用示例代码。
## 使用步骤
@@ -16,14 +16,14 @@
## 配置项说明
-| *属性名称* | *说明* | *可选项* |
-|:----------- | ---------- |:--------------------------------------------------------------------------------------------------------------------------------|
-| product | 产品 | jdbc、proxy |
+| *属性名称* | *说明* | *可选项* |
+| :---------- | ---------- | :-------------------------------------------------------------------------------------------------------------------------------- |
+| product | 产品 | jdbc、proxy |
| mode | 运行模式 | cluster-zookeeper、cluster-etcd、standalone |
-| transaction | 事务类型 | local, xa-atomikos, xa-narayana |
-| features | 功能 | sharding、readwrite-splitting、db-discovery、encrypt |
+| transaction | 事务类型 | local, xa-atomikos, xa-narayana |
+| features | 功能 | sharding、readwrite-splitting、db-discovery、encrypt |
| frameworks | 框架 | jdbc、spring-boot-starter-jdbc、spring-boot-starter-jpa、spring-boot-starter-mybatis、spring-namespace-jpa、spring-namespace-mybatis |
-| host | 数据库主机名 | |
-| port | 数据库端口 | |
-| username | 数据库用户名 | |
-| password | 数据库密码 | |
+| host | 数据库主机名 | |
+| port | 数据库端口 | |
+| username | 数据库用户名 | |
+| password | 数据库密码 | |