From 52d3ceab1b44d62e85ce9433ae69acdc271468b5 Mon Sep 17 00:00:00 2001 From: "lhq01844380@antgroup.com" Date: Fri, 28 Jun 2024 16:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8Fcheck=E6=94=B9=E5=8A=A8-?= =?UTF-8?q?=E6=81=A2=E5=A4=8D5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dead_link_check_config.json | 4 ++++ docs/docusaurus.config.js | 2 +- .../current/design/oss/design.md | 14 +++++++------- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/dead_link_check_config.json b/.github/dead_link_check_config.json index 1db2505da9..c8672a9ca1 100644 --- a/.github/dead_link_check_config.json +++ b/.github/dead_link_check_config.json @@ -30,6 +30,10 @@ "pattern": "^/", "replacement": "http://localhost:3000/#/" }, + { + "pattern": "^/img", + "replacement": "docs/static/img" + }, { "pattern": "^zh/", "replacement": "http://localhost:3000/#/zh/" diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 379c0a84ef..9a6674f7d4 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -8,7 +8,7 @@ const config = { favicon: 'https://gw.alipayobjects.com/zos/bmw-prod/65518bfc-8ba5-4234-a5c5-2bc065e3a5f0.svg', url: 'https://mosn.io', - baseUrl: '/layotto/', + baseUrl: '/', organizationName: 'mosn', projectName: 'layotto', diff --git a/docs/i18n/en-US/docusaurus-plugin-content-docs/current/design/oss/design.md b/docs/i18n/en-US/docusaurus-plugin-content-docs/current/design/oss/design.md index 63b9a63c05..51c828070a 100644 --- a/docs/i18n/en-US/docusaurus-plugin-content-docs/current/design/oss/design.md +++ b/docs/i18n/en-US/docusaurus-plugin-content-docs/current/design/oss/design.md @@ -42,22 +42,22 @@ The definition of the interface is primarily divided into one of the main fields The design of the interface primarily refers to the aliyun and aws and the minio interface definitions. -> https://docs.aws.amazon.com/zh_cn/AmazonS3/latest/API/API_GetObject.html\ -> https://help.aliyun.com/document_detail/31980.html\ +> https://docs.aws.amazon.com/zh_cn/AmazonS3/latest/API/API_GetObject.html +> https://help.aliyun.com/document_detail/31980.html > https://docs.min.io/docs/golang-client-api-reference.html ### PutObject Object upload interface, used as file upload, is the most basic ability of the goss. -> [https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_PutObject.html] (https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_PutObject.html)\ +> [https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_PutObject.html] (https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_PutObject.html) > [https://help.aliyun.com/document_detail/31978.html] (https://help.aliyun.com/document_detail/31978.html) ### GetObject Object download interface, used as file downloads, is the most basic ability of oss. -> [https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_GetObject.html] (https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_GetObject.html)\ +> [https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_GetObject.html] (https://docs.aws.amazon.com/en_cn/AmazonS3/latest/API/API_GetObject.html) > [https://help.aliyun.com/document_detail/31980.html] (https://help.aliyun.com/document_detail/31980.html) ### DeleteObject @@ -150,8 +150,8 @@ as long as it can be done to remind users that the interface does not fit the po > [https://help.aliyun.com/document_detail/100676.html] (https://help.aliun.com/document_detail/100676.html) Aliyun object acl type\ > [https://cloud.tencent.com/document/product/436/30752#E9.A2.84.E8.E7.E7.9A.84-acl] (https://cloud.tenent.com/document/product/436/30752#E9.A2.84.E.84.E.8.BE.7.9A.84-acl) Tencast cloud acltype\ -> [https://docs.aws.amazon.com/AmazonS3/useruide/acl-overview.html#CannedACL](https://docs.amazon.com/AmazonS3/usitude/acl-overview.html#CannedACL)\ -> [https://github.com/ +> [https://docs.aws.amazon.com/AmazonS3/useruide/acl-overview.html#CannedACL](https://docs.amazon.com/AmazonS3/usitude/acl-overview.html#CannedACL) +> [https://github.com/minio/minio/issues/8195](https://github.com/minio/minio/issues/8195) 对于minio是否应该支持acl的讨论 ### PutObjectCannedAcl @@ -200,7 +200,7 @@ Returns the metadata data of the object, which is the most basic ability of the The interface is not clearly defined in s3, and users can determine whether an object exists by way of the http's standard error code returned by HeadObject, which is abstracted separately to make the interface more semicolon. -> [http://biercoff.com/how-to-check-with-aws-cli-if-file-exiss-in-s3/](http://biercoff.com/how-to-check-with-aws-cli-file-exiss-in-s3/)\ +> [http://biercoff.com/how-to-check-with-aws-cli-if-file-exiss-in-s3/](http://biercoff.com/how-to-check-with-aws-cli-file-exiss-in-s3) > [https://stackoverflow.com/questions/41871948/aws-s3-how-to-check-if-a-file-exiss-in-a-bucket-using-bash](https://stackoverflow.com/questions/41871948/aws-on-to-the-file-existing-bash) ### SignURL