You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by xi...@apache.org on 2022/10/10 02:48:45 UTC

[shenyu-website] branch main updated: [type:fix] fix Chinese doc (#791)

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

xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 4ad8816438 [type:fix] fix Chinese doc (#791)
4ad8816438 is described below

commit 4ad88164389615bc331806a55ae65129c4db830f
Author: jakiuncle <88...@users.noreply.github.com>
AuthorDate: Mon Oct 10 10:48:40 2022 +0800

    [type:fix] fix Chinese doc (#791)
    
    * [DOC] add casdoor doc
    
    * [BUG] fix a photo name
    
    * [BUG] fix a photo name
    
    * Bug:update chinese doc
    
    * fix: fix ci
---
 docs/plugin-center/security/casdoor.md               | 19 ++++++++++---------
 .../security/{casdoor-plugin.md => casdoor.md}       | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/docs/plugin-center/security/casdoor.md b/docs/plugin-center/security/casdoor.md
index 5f05923da1..3fecb12048 100644
--- a/docs/plugin-center/security/casdoor.md
+++ b/docs/plugin-center/security/casdoor.md
@@ -26,21 +26,21 @@ Then you can quickly implement a Casdoor based login page in your own app with t
 
 ### 2. Add Your redirect url
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_config.png" width="80%" height="80%" />
+  ![casdoor_config](/img/shenyu/plugin/casdoor/casdoor_config.png)
 
 ### 3. On the certificate editing page, you can see your `certificate`
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_cert.png" width="80%" height="80%" />
+  ![casdoor_cert](/img/shenyu/plugin/casdoor/casdoor_cert.png)
 
 ## Step3. Use Casdoor plugin in Shenyu
 
 ### 1. Config Casdoor plugin in Shenyu
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_configPlugin.png" width="80%" height="80%" />
+  ![casdoor_configPlugin](/img/shenyu/plugin/casdoor/casdoor_configPlugin.png)
 
 note: because the shenyu only have Single line input box so we need add \n in every line of cert.
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_cert2.png" width="80%" height="80%" />
+  ![casdoor_cert2](/img/shenyu/plugin/casdoor/casdoor_cert2.png)
 
 You can copy it and paste it on the certificate of shenyu casdoor config.
 
@@ -48,22 +48,23 @@ You can copy it and paste it on the certificate of shenyu casdoor config.
 
 ### 2. Confing Shenyu Casdoor's plugin
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_casdoor.png" width="80%" height="80%" />
+  ![casdoor_casdoor](/img/shenyu/plugin/casdoor/casdoor_casdoor.png)
+
    You can config what you need to use Casdoor config
 
 ### 3. Get the service and use
 
 #### 3.1 Visit the Web directly like
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_faillogin.png" width="80%" height="80%" />
+  ![casdoor_faillogin](/img/shenyu/plugin/casdoor/casdoor_faillogin.png)
 
 #### 3.2 Use Casdoor login like this
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_login.png" width="80%" height="80%" />
-   <img src="/img/shenyu/plugin/casdoor/casdoor_successlogin.png" width="80%" height="80%" />
+  ![casdoor_login](/img/shenyu/plugin/casdoor/casdoor_login.png)
+  ![casdoor_successlogin](/img/shenyu/plugin/casdoor/casdoor_successlogin.png)
 
 #### 3.3 Carry token in Headers,you also can visit it
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_token.png" width="80%" height="80%" />
+  ![casdoor_token](/img/shenyu/plugin/casdoor/casdoor_token.png)
 
 #### 3.4 It also can save name,id and organization in Headers so that you can use them in next time
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor-plugin.md b/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor.md
similarity index 63%
rename from i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor-plugin.md
rename to i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor.md
index 863f938ab9..a3b09f5d30 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor-plugin.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/security/casdoor.md
@@ -1,5 +1,5 @@
 ---
-title: Casdoor
+title: Casdoor插件
 keywords: ["Casdoor"]
 description: Casdoor插件
 ---
@@ -28,21 +28,21 @@ ShenYu 有Casdoor插件去使用Casdoor
 
 ### 2.添加我们的回调url
 
-  <img src="/img/shenyu/plugin/casdoor/casdoor_config.png" width="80%" height="80%" />
+  ![casdoor_config](/img/shenyu/plugin/casdoor/casdoor_config.png)
 
 ### 3.在证书的编辑页面,我们能看到我们的`Certificate`
 
-  <img src="/img/shenyu/plugin/casdoor/casdoor_config.png" width="80%" height="80%" />
+  ![casdoor_cert](/img/shenyu/plugin/casdoor/casdoor_cert.png)
 
 ## 第三步.运用Casdoor插件在Shenyu
 
 ### 1.设置Casdoor插件在Shenyu
 
-​	<img src="/img/shenyu/plugin/casdoor/casdoor_configPlugin.png" width="80%" height="80%" />
+  ![casdoor_configPlugin](/img/shenyu/plugin/casdoor/casdoor_configPlugin.png)
 
 注意:因为Shenyu只有单行输入框所以我们需要增加\n在每一行的证书.
 
-​	<img src="/img/shenyu/plugin/casdoor/casdoor_cert2.png" width="80%" height="80%" />
+  ![casdoor_cert2](/img/shenyu/plugin/casdoor/casdoor_cert2.png)
 
 我们可以在复制他们并将它们粘贴到Shenyu的Casdoor配置中的certificate这一项中
 
@@ -50,7 +50,7 @@ ShenYu 有Casdoor插件去使用Casdoor
 
 #### 2.设置Shenyu Casdoor的插件配置
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_casdoor.png" width="80%" height="80%" />
+  ![casdoor_casdoor](/img/shenyu/plugin/casdoor/casdoor_casdoor.png)
 
 ​我们可以设置你所拥有的casdoor配置在Shenyu配置中
 
@@ -58,15 +58,15 @@ ShenYu 有Casdoor插件去使用Casdoor
 
 #### 3.1 直接访问页面
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_faillogin.png" width="80%" height="80%" />
+  ![casdoor_faillogin](/img/shenyu/plugin/casdoor/casdoor_faillogin.png)
 
 #### 3.2 使用Casdoor登录
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_login.png" width="80%" height="80%" />
-   <img src="/img/shenyu/plugin/casdoor/casdoor_successlogin.png" width="80%" height="80%" />
+  ![casdoor_login](/img/shenyu/plugin/casdoor/casdoor_login.png)
+  ![casdoor_successlogin](/img/shenyu/plugin/casdoor/casdoor_successlogin.png)
 
 #### 3.3携带token在Headers,你可以访问该页面
 
-   <img src="/img/shenyu/plugin/casdoor/casdoor_token.png" width="80%" height="80%" />
+  ![casdoor_token](/img/shenyu/plugin/casdoor/casdoor_token.png)
 
 #### 3.4 我们可以保存name,id和organization在Headers以至于你可以运用他们在下一次