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 2023/06/20 13:54:46 UTC

[shardingsphere] branch master updated: Fix deadlink (#26466)

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 95b0c7d6362 Fix deadlink (#26466)
95b0c7d6362 is described below

commit 95b0c7d63621ea0fe30c78e07d46e103e2e4c2f8
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Tue Jun 20 21:54:36 2023 +0800

    Fix deadlink (#26466)
---
 .../resources/linkcheck/markdown-link-check.json       | 18 ++++++++++++++----
 docs/document/content/dev-manual/transaction.cn.md     |  8 ++++----
 .../document/content/reference/management/_index.cn.md |  2 +-
 .../document/content/reference/management/_index.en.md |  2 +-
 .../alter-readwrite-splitting-rule.cn.md               |  2 +-
 .../alter-readwrite-splitting-rule.en.md               |  2 +-
 .../shardingsphere-proxy/optional-plugins/_index.cn.md |  2 +-
 .../shardingsphere-proxy/optional-plugins/_index.en.md |  2 +-
 8 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/resources/linkcheck/markdown-link-check.json b/.github/workflows/resources/linkcheck/markdown-link-check.json
index 0672579c5b4..2d703d1fa8c 100644
--- a/.github/workflows/resources/linkcheck/markdown-link-check.json
+++ b/.github/workflows/resources/linkcheck/markdown-link-check.json
@@ -11,15 +11,25 @@
     },
     {
       "pattern": "^https://twitter.com*"
+    },
+    {
+      "pattern": "^https://central.sonatype.com/"
     }
   ], "replacementPatterns": [
   {
-    "pattern": "^/cn/",
-    "replacement": "https://shardingsphere.apache.org/document/current/cn/"
+    "pattern": "^/cn/(dev-manual|downloads|faq|features|overview|quick-start|reference|test-manual|user-manual)",
+    "replacement": "https://shardingsphere.apache.org/document/current/cn/$1"
+  },
+  {
+    "pattern": "^/en/(dev-manual|downloads|faq|features|overview|quick-start|reference|test-manual|user-manual)",
+    "replacement": "https://shardingsphere.apache.org/document/current/en/$1"
+  },{
+    "pattern": "^/cn/videos",
+    "replacement": "https://shardingsphere.apache.org/blog/cn/videos"
   },
   {
-    "pattern": "^/en/",
-    "replacement": "https://shardingsphere.apache.org/document/current/en/"
+    "pattern": "^/en/videos",
+    "replacement": "https://shardingsphere.apache.org/blog/en/videos"
   }],
   "timeout": "10s",
   "retryOn429": true,
diff --git a/docs/document/content/dev-manual/transaction.cn.md b/docs/document/content/dev-manual/transaction.cn.md
index 2fa01bcbb90..9d9eaa487f8 100644
--- a/docs/document/content/dev-manual/transaction.cn.md
+++ b/docs/document/content/dev-manual/transaction.cn.md
@@ -89,7 +89,7 @@ XA 分布式事务管理器
 
 ### 已知实现
 
-| *配置标识*  | *详细说明*           | *全限定类名*                                                                                                                                                                                                                                                                                                                              |
-|---------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| MySQL   | 校验 MySQL XA 事务所需的权限 | [`org.apache.shardingsphere.transaction.xa.jta.datasource.checker.dialect.MySQLDataSourcePrivilegeChecker`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/xa/core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/checker/dialect/MySQLDataSourcePrivilegeChecker.java) |         |
-| Default | 默认不校验事务所需的权限     | [`org.apache.shardingsphere.transaction.xa.jta.datasource.checker.DefaultDataSourcePrivilegeChecker`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/xa/core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/DefaultDataSourcePrivilegeChecker.java) |                 |
+| *配置标识*  | *详细说明*           | *全限定类名*                                                                                                                                                                                                                                                                                                                        |
+|---------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| MySQL   | 校验 MySQL XA 事务所需的权限 | [`org.apache.shardingsphere.transaction.xa.jta.datasource.checker.dialect.MySQLDataSourcePrivilegeChecker`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/xa/core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/checker/dialect/MySQLDataSourcePrivilegeChecker.java) | |
+| Default | 默认不校验事务所需的权限     | [`org.apache.shardingsphere.transaction.xa.jta.datasource.checker.DefaultDataSourcePrivilegeChecker`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/xa/core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/checker/DefaultDataSourcePrivilegeChecker.java) |             |
diff --git a/docs/document/content/reference/management/_index.cn.md b/docs/document/content/reference/management/_index.cn.md
index bad38e22337..7c3cab740f1 100644
--- a/docs/document/content/reference/management/_index.cn.md
+++ b/docs/document/content/reference/management/_index.cn.md
@@ -80,7 +80,7 @@ sqlParser:
 
 ### /props
 
-属性配置,详情请参见[配置手册](/cn/user-manual/shardingsphere-jdbc/props/)。
+属性配置,详情请参见[配置手册](/cn/user-manual/common-config/props/)。
 
 ```yaml
 kernel-executor-size: 20
diff --git a/docs/document/content/reference/management/_index.en.md b/docs/document/content/reference/management/_index.en.md
index cff6afd4547..d7a7b933aae 100644
--- a/docs/document/content/reference/management/_index.en.md
+++ b/docs/document/content/reference/management/_index.en.md
@@ -80,7 +80,7 @@ sqlParser:
 
 ### /props
 
-These are the properties configuration. Please refer to the [Configuration Manual](/en/user-manual/shardingsphere-jdbc/props/) for more details.
+These are the properties configuration. Please refer to the [Configuration Manual](/en/user-manual/common-config/props/) for more details.
 
 ```yaml
 kernel-executor-size: 20
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
index 4df62077f7f..124d532e021 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
@@ -60,7 +60,7 @@ value ::=
 ### 补充说明
 
 - `transactionalReadQueryStrategyType` 指定事务内读请求路由策略,请参考[YAML 配置](/cn/user-manual/shardingsphere-jdbc/yaml-config/rules/readwrite-splitting/);
-- `loadBalancerType` 指定负载均衡算法类型,请参考[负载均衡算法]((/cn/user-manual/common-config/builtin-algorithm/load-balance/))。
+- `loadBalancerType` 指定负载均衡算法类型,请参考[负载均衡算法](/cn/user-manual/common-config/builtin-algorithm/load-balance/)。
 
 ### 示例
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
index caab70207a6..6e05869357d 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
@@ -60,7 +60,7 @@ value ::=
 ### Supplement
 
 - `transactionalReadQueryStrategyType` specifies the routing strategy for read query within a transaction, please refer to [YAML configuration](/en/user-manual/shardingsphere-jdbc/yaml-config/rules/readwrite-splitting/);
-- `loadBalancerType` specifies the load balancing algorithm type, please refer to [Load Balance Algorithm]((/en/user-manual/common-config/builtin-algorithm/load-balance/)).
+- `loadBalancerType` specifies the load balancing algorithm type, please refer to [Load Balance Algorithm](/en/user-manual/common-config/builtin-algorithm/load-balance/).
 
 ### Example
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.cn.md
index dcad5bf9e9c..7d2cd7d1609 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.cn.md
@@ -4,7 +4,7 @@ weight = 6
 +++
 
 ShardingSphere 默认情况下仅包含核心 SPI 的实现,在 Git Source 存在一部分包含第三方依赖的 SPI
-实现的插件未包含在内。可在 https://central.sonatype.dev/ 进行检索。
+实现的插件未包含在内。可在 https://central.sonatype.com/ 进行检索。
 
 所有插件对应的 SPI 和 SPI 的已有实现类均可在 https://shardingsphere.apache.org/document/current/cn/dev-manual/ 检索。
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.en.md b/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.en.md
index f052fe77509..bf566b1a6ec 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/optional-plugins/_index.en.md
@@ -4,7 +4,7 @@ weight = 6
 +++
 
 ShardingSphere only includes the implementation of the core SPI by default, and there is a part of the SPI that contains third-party dependencies in Git Source
-Implemented plugins are not included. Retrievable at https://central.sonatype.dev/.
+Implemented plugins are not included. Retrievable at https://central.sonatype.com/.
 
 SPI and existing implementation classes of SPI corresponding to all plugins can be retrieved at https://shardingsphere.apache.org/document/current/cn/dev-manual/.