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/22 06:31:39 UTC
[shardingsphere] branch master updated: Fix : fix the incorrect path (#26456) (#26490)
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 e5edbe85f10 Fix : fix the incorrect path (#26456) (#26490)
e5edbe85f10 is described below
commit e5edbe85f10db3dc877ca6f7c982cad7c353fabb
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Thu Jun 22 14:31:33 2023 +0800
Fix : fix the incorrect path (#26456) (#26490)
---
.github/workflows/nightly-check.yml | 21 ++++++++++++++++-----
.../resources/linkcheck/markdown-link-check.json | 16 ++++++----------
docs/community/content/team/_index.en.md | 4 ++--
docs/document/content/dev-manual/kernel.cn.md | 4 ++--
docs/document/content/dev-manual/kernel.en.md | 4 ++--
docs/document/content/dev-manual/sql-parser.en.md | 2 +-
docs/document/content/dev-manual/transaction.en.md | 2 +-
7 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml
index 2253e64b5e2..2fb5c47637d 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -145,11 +145,22 @@ jobs:
- run: sudo npm install -g markdown-link-check@3.10.0
- name: Check dead link
run: |
- for file in $(find . -path "./docs/document/themes" -prune -o -name "*.md"); do
- if [ -d "$file" ]; then
- continue
- fi
- markdown-link-check -c .github/workflows/resources/linkcheck/markdown-link-check.json -q "$file"
+ IGNORED_PATH_LIST=("./docs/document/themes" "./docs/community/content/powered-by")
+ ignore_current_file=false
+
+ for file in $(find . -name "*.md"); do
+ for ignored_path in ${IGNORED_PATH_LIST[@]}
+ do
+ if [[ $file =~ $ignored_path ]]; then
+ break
+ fi
+ done
+ if [[ $ignore_current_file == true ]]; then
+ ignore_current_file=false
+ continue
+ fi
+ echo "Checking $file"
+ markdown-link-check -c .github/workflows/resources/linkcheck/markdown-link-check.json -q "$file"
done
check-codeql:
diff --git a/.github/workflows/resources/linkcheck/markdown-link-check.json b/.github/workflows/resources/linkcheck/markdown-link-check.json
index 2d703d1fa8c..c2b2c9e478e 100644
--- a/.github/workflows/resources/linkcheck/markdown-link-check.json
+++ b/.github/workflows/resources/linkcheck/markdown-link-check.json
@@ -17,19 +17,15 @@
}
], "replacementPatterns": [
{
- "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|en)/(dev-manual|downloads|faq|features|overview|quick-start|reference|test-manual|user-manual)",
+ "replacement": "https://shardingsphere.apache.org/document/current/$1/$2"
},{
- "pattern": "^/cn/videos",
- "replacement": "https://shardingsphere.apache.org/blog/cn/videos"
+ "pattern": "^/(cn|en)/(videos|material)",
+ "replacement": "https://shardingsphere.apache.org/blog/$1/$2"
},
{
- "pattern": "^/en/videos",
- "replacement": "https://shardingsphere.apache.org/blog/en/videos"
+ "pattern": "^/(cn|en)/(involved|powered-by|security|team)",
+ "replacement": "https://shardingsphere.apache.org/community/$1/$2"
}],
"timeout": "10s",
"retryOn429": true,
diff --git a/docs/community/content/team/_index.en.md b/docs/community/content/team/_index.en.md
index 1baefb597fd..edd9a65cacf 100644
--- a/docs/community/content/team/_index.en.md
+++ b/docs/community/content/team/_index.en.md
@@ -331,7 +331,7 @@ chapter = true
</a>
</td>
<td>
- <a href="https://github.com/zjcnb" target="_blank">
+ <a href="https://github.com/zhaojinchao95" target="_blank">
<img src="https://avatars.githubusercontent.com/u/33742097?v=4" style="border-radius:50%; overflow:hidden">
</a>
</td>
@@ -386,7 +386,7 @@ chapter = true
</a>
</td>
<td>
- <a href="https://github.com/mabaiwan" target="_blank">
+ <a href="https://github.com/magestacks" target="_blank">
<img src="https://avatars.githubusercontent.com/u/77398366?v=4" style="border-radius:50%; overflow:hidden">
</a>
</td>
diff --git a/docs/document/content/dev-manual/kernel.cn.md b/docs/document/content/dev-manual/kernel.cn.md
index c54a2ff58aa..2a7b05cf9db 100644
--- a/docs/document/content/dev-manual/kernel.cn.md
+++ b/docs/document/content/dev-manual/kernel.cn.md
@@ -19,7 +19,7 @@ chapter = true
| | *配置标识* | *详细说明* | *全限定类名* |
|:----|------------------------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| | SingleRule | 用于处理单表路由结果 | [`org.apache.shardingsphere.singletable.route.SingleTableSQLRouter`](https://github.com/apache/shardingsphere/blob/master/kernel/single-table/core/src/main/java/org/apache/shardingsphere/singletable/route/SingleTableSQLRouter.java) |
+| | SingleRule | 用于处理单表路由结果 | [`org.apache.shardingsphere.single.route.SingleSQLRouter`](https://github.com/apache/shardingsphere/blob/master/kernel/single/core/src/main/java/org/apache/shardingsphere/single/route/SingleSQLRouter.java) |
| | ShardingRule | 用于处理分片路由结果 | [`org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter`](https://github.com/apache/shardingsphere/blob/master/infra/route/src/main/java/org/apache/shardingsphere/infra/route/SQLRouter.java) |
| | ReadwriteSplittingRule | 用于处理读写分离路由结果 | [`org.apache.shardingsphere.readwritesplitting.route.ReadwriteSplittingSQLRouter`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouter.java) |
| | DatabaseDiscoveryRule | 用于处理数据库发现路由结果 | [`org.apache.shardingsphere.dbdiscovery.route.DatabaseDiscoverySQLRouter`](https://github.com/apache/shardingsphere/blob/master/features/db-discovery/core/src/main/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouter.java) |
@@ -56,7 +56,7 @@ SQL 执行过程监听器
| *配置标识* | *详细说明* | *全限定类名* |
|--------|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| 无 | 基于事务的 SQL 执行过程监听器 | [`org.apache.shardingsphere.transaction.base.seata.at.TransactionalSQLExecutionHook`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/base/seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java) |
+| 无 | 基于事务的 SQL 执行过程监听器 | [`org.apache.shardingsphere.transaction.base.seata.at.SeataTransactionalSQLExecutionHook`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/base/seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionalSQLExecutionHook.java) |
## ResultProcessEngine
diff --git a/docs/document/content/dev-manual/kernel.en.md b/docs/document/content/dev-manual/kernel.en.md
index 3933a74b202..8c43371bd32 100644
--- a/docs/document/content/dev-manual/kernel.en.md
+++ b/docs/document/content/dev-manual/kernel.en.md
@@ -19,7 +19,7 @@ Used to process routing results
| *Configuration type* | *Description* | *Fully-qualified class name* |
|------------------------------|------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| SingleRule.class | Used to process single-table routing results | [`org.apache.shardingsphere.singletable.route.SingleTableSQLRouter`](https://github.com/apache/shardingsphere/blob/master/kernel/single-table/core/src/main/java/org/apache/shardingsphere/singletable/route/SingleTableSQLRouter.java) |
+| SingleRule.class | Used to process single-table routing results | [`org.apache.shardingsphere.singletable.route.SingleTableSQLRouter`](https://github.com/apache/shardingsphere/blob/master/kernel/single/core/src/main/java/org/apache/shardingsphere/single/route/SingleSQLRouter.java) |
| ShardingRule.class | Used to process sharding routing results | [`org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter`](https://github.com/apache/shardingsphere/blob/master/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/route/engine/ShardingSQLRouter.java) |
| ReadwriteSplittingRule.class | Used to process read-write splitting routing results | [`org.apache.shardingsphere.readwritesplitting.route.ReadwriteSplittingSQLRouter`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouter.java) |
| DatabaseDiscoveryRule.class | Used to process database discovery routing results | [`org.apache.shardingsphere.dbdiscovery.route.DatabaseDiscoverySQLRouter`](https://github.com/apache/shardingsphere/blob/master/features/db-discovery/core/src/main/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouter.java) |
@@ -56,7 +56,7 @@ SQL execution process listener
| *Configuration type* | *Description* | *Fully-qualified class name* |
|----------------------|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Empty | Transaction hook of SQL execution | [`org.apache.shardingsphere.transaction.base.seata.at.TransactionalSQLExecutionHook`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/base/seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java) |
+| Empty | Transaction hook of SQL execution | [`org.apache.shardingsphere.transaction.base.seata.at.SeataTransactionalSQLExecutionHook`](https://github.com/apache/shardingsphere/blob/master/kernel/transaction/type/base/seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataTransactionalSQLExecutionHook.java) |
## ResultProcessEngine
diff --git a/docs/document/content/dev-manual/sql-parser.en.md b/docs/document/content/dev-manual/sql-parser.en.md
index af9b1c8e869..0fc022b8871 100644
--- a/docs/document/content/dev-manual/sql-parser.en.md
+++ b/docs/document/content/dev-manual/sql-parser.en.md
@@ -30,7 +30,7 @@ Database typed SQL parser facade service definition
### Fully-qualified class name
-[`org.apache.shardingsphere.sql.parser.spi.SQLStatementVisitorFacade`](https://github.com/apache/shardingsphere/blob/master/sql-parser/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLStatementVisitorFacade.java)
+[`org.apache.shardingsphere.sql.parser.spi.SQLStatementVisitorFacade`](https://github.com/apache/shardingsphere/blob/master/parser/sql/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLStatementVisitorFacade.java)
### Definition
diff --git a/docs/document/content/dev-manual/transaction.en.md b/docs/document/content/dev-manual/transaction.en.md
index 4fce0ffefa6..68212111c96 100644
--- a/docs/document/content/dev-manual/transaction.en.md
+++ b/docs/document/content/dev-manual/transaction.en.md
@@ -92,4 +92,4 @@ Check transaction privilege through the data source
| *配置标识* | *详细说明* | *全限定类名* |
|---------|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| MySQL | Verify MySQL XA transaction privilege | [`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 | Not verify transaction privilege by 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) | |
+| Default | Not verify transaction privilege by 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) | |