This is an automated email from the ASF dual-hosted git repository.

menghaoran 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 4f4c1c1  Move sctl to dist sql menu (#9265)
4f4c1c1 is described below

commit 4f4c1c18f08c77f99a7b6f2648e30313e300dfe3
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Feb 2 17:07:13 2021 +0800

    Move sctl to dist sql menu (#9265)
    
    * Move sctl to dist sql menu
    
    * Remove origin sctl
    
    * For format
---
 docs/document/content/features/dist-sql/rdl.cn.md             |  2 +-
 .../usage => features/dist-sql}/sctl.cn.md                    | 11 ++++++++---
 .../usage => features/dist-sql}/sctl.en.md                    | 10 ++++++++--
 .../user-manual/shardingsphere-proxy/usage/governance.cn.md   |  1 +
 .../user-manual/shardingsphere-proxy/usage/governance.en.md   |  1 +
 5 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/docs/document/content/features/dist-sql/rdl.cn.md 
b/docs/document/content/features/dist-sql/rdl.cn.md
index da44ebb..1912928 100644
--- a/docs/document/content/features/dist-sql/rdl.cn.md
+++ b/docs/document/content/features/dist-sql/rdl.cn.md
@@ -123,7 +123,7 @@ DROP TABLE t_item;
 DROP DATABASE sharding_db
 ```
 
-### 注意
+### 注意事项
 
 1. 当前, `DROP DB`只会移除`逻辑的分布式数据库`,不会删除用户真实的数据库 (**TODO**)。
 2. `DROP TABLE`会将逻辑分片表和数据库中真实的表全部删除。
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.cn.md 
b/docs/document/content/features/dist-sql/sctl.cn.md
similarity index 91%
rename from 
docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.cn.md
rename to docs/document/content/features/dist-sql/sctl.cn.md
index 4ce52d6..fd4c482 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.cn.md
+++ b/docs/document/content/features/dist-sql/sctl.cn.md
@@ -1,10 +1,13 @@
 +++
 title = "SCTL"
-weight = 4
+weight = 3
 +++
 
-SCTL (ShardingSphere Control Language) 为 ShardingSphere 特有的控制语句,
-可以在运行时修改和查询 ShardingSphere-Proxy 的状态,目前支持的语法为:
+## 定义
+
+SCTL (ShardingSphere Control Language) 为 Apache ShardingSphere 
的控制语言,负责Hint、事务类型切换、分片执行计划查询等增量功能的操作。
+
+## 使用实战
 
 | 语句                                     | 说明                                  
                                                          |
 
|:----------------------------------------|:------------------------------------------------------------------------------------------------|
@@ -20,4 +23,6 @@ SCTL (ShardingSphere Control Language) 为 ShardingSphere 
特有的控制语句
 |sctl:hint show status                    | 针对当前连接,查询 hint 
状态,primary_only:true/false,sharding_type:databases_only/databases_tables |
 |sctl:hint show table status              | 针对当前连接,查询逻辑表的 hint 分片值             
                                                  |
 
+## 注意事项
+
 ShardingSphere-Proxy 默认不支持 hint,如需支持,请在 `conf/server.yaml` 中,将 `properties` 
的属性 `proxy-hint-enabled` 设置为 true。
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.en.md 
b/docs/document/content/features/dist-sql/sctl.en.md
similarity index 93%
rename from 
docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.en.md
rename to docs/document/content/features/dist-sql/sctl.en.md
index 75371e7..09f2c8b 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/usage/sctl.en.md
+++ b/docs/document/content/features/dist-sql/sctl.en.md
@@ -1,9 +1,13 @@
 +++
 title = "SCTL"
-weight = 4
+weight = 3
 +++
 
-SCTL (ShardingSphere-Proxy control language) supports modify and query the 
state of Sharing-Proxy at runtime. The current supported syntax is:
+## Definition
+
+SCTL(ShardingSphere Control Language)responsible for the added-on feature of 
hint, transaction type switch, sharding execute planning and so on.
+
+## Usage
 
 | Statement                               | Function                           
                                                                               
| Example                                        |
 
|:----------------------------------------|:------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|
@@ -19,4 +23,6 @@ SCTL (ShardingSphere-Proxy control language) supports modify 
and query the state
 |sctl:hint show status                    | For current connection, query hint 
status, primary_only:true/false, sharding_type:databases_only/databases_tables 
| sctl:hint show status                          |
 |sctl:hint show table status              | For current connection, query 
sharding values of logic tables                                                 
    | sctl:hint show table status                    |
 
+## Notice
+
 ShardingSphere-Proxy does not support hint by default, to support it, set the 
`properties` property `proxy-hint-enabled` to true in `conf/server.yaml`.
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.cn.md 
b/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.cn.md
index 2b55ff2..6c14700 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.cn.md
@@ -11,6 +11,7 @@ ShardingSphere-Proxy 默认提供了 Zookeeper 解决方案,实现了配置中
 [配置规则](/cn/user-manual/shardingsphere-jdbc/configuration/yaml/governance/)同 
ShardingSphere-JDBC YAML 保持一致。
 
 ## 其他第三方组件
+
 详情请参考[支持的第三方组件](/cn/features/governance/management/dependency/)。
 
 1. 使用 SPI 方式实现相关逻辑编码,并将生成的 jar 包复制至 ShardingSphere-Proxy 的 lib 目录。
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.en.md 
b/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.en.md
index e808af8..bd4f39c 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/usage/governance.en.md
@@ -11,6 +11,7 @@ ShardingSphere-Proxy has provided the solution of Zookeeper 
in default, which im
 [Configuration 
Rules](/en/user-manual/shardingsphere-jdbc/configuration/yaml/governance/) 
consistent with ShardingSphere-JDBC YAML.
 
 ## Other Third Party Components
+
 Refer to [Supported Third Party 
Components](/en/features/governance/management/dependency/) for details.
 
 1. Use SPI methods in logic coding and put the generated jar package to the 
lib folder of ShardingSphere-Proxy.

Reply via email to