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 2023/05/22 03:45:06 UTC

[shardingsphere] branch master updated: doc: Fix the documentation for configuring ShardingSphere with an absolute path (#25716)

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

zhaojinchao 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 e88a73eefd9 doc: Fix the documentation for configuring ShardingSphere with an absolute path (#25716)
e88a73eefd9 is described below

commit e88a73eefd95caedfb05d82452f8bba7dda7c54f
Author: Nicolas Fränkel <ni...@frankel.ch>
AuthorDate: Mon May 22 05:44:58 2023 +0200

    doc: Fix the documentation for configuring ShardingSphere with an absolute path (#25716)
    
    The code (https://github.com/apache/shardingsphere/blob/955ea40a41f083529ce2b98cd239a16d984ffe4a/jdbc/core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/AbsolutePathDriverURLProvider.java#L38-L43) is clear, it should be prefixed with jdbc:shardingsphere:absolutepath:
---
 .../shardingsphere-jdbc/yaml-config/jdbc-driver/_index.cn.md            | 2 +-
 .../shardingsphere-jdbc/yaml-config/jdbc-driver/_index.en.md            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.cn.md
index d36e42a3e2e..bb6edac2efc 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.cn.md
@@ -90,5 +90,5 @@ jdbc:shardingsphere:classpath:config.yaml
 
 加载绝对路径中 config.yaml 配置文件的 JDBC URL:
 ```
-jdbc:shardingsphere:/path/to/config.yaml
+jdbc:shardingsphere:absolutepath/path/to/config.yaml
 ```
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.en.md
index 18b9eede54b..8f9b91da000 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/_index.en.md
@@ -90,5 +90,5 @@ jdbc:shardingsphere:classpath:config.yaml
 
 Load JDBC URL of config.yaml profile in absolute path
 ```
-jdbc:shardingsphere:/path/to/config.yaml
+jdbc:shardingsphere:absolutepath/path/to/config.yaml
 ```