diff --git a/docs/site/content/zh/latest/_index.md b/docs/site/content/zh/latest/_index.md index d13c20a1..f516760f 100644 --- a/docs/site/content/zh/latest/_index.md +++ b/docs/site/content/zh/latest/_index.md @@ -9,15 +9,15 @@ type = "docs" {{% alert title="记录" color="primary" %}} -该项目正在**积极**开发中,很多功能尚待补充,我们希望您[参与其中](contributions/)! +我们欢迎您[参与其中](contributions/)! {{% /alert %}} -API Testing 一个基于 YAML 文件的开源接口测试工具,同时支持运行在本地、服务端。 +API Testing (也就是 atest) 一个基于 YAML 文件的开源接口测试工具,同时支持运行在本地、服务端。 在选择工具时,可以从很多方面进行考量、对比,以下几点是该工具的特色或者优点: -* 开源与否,atest 采用 MIT 开源协议,是最流行的宽松开源协议之一。有些工具也许有非常丰富的功能、漂亮的界面,但相比于开源项目,免费的工具不定什么时候就有可能变为收费的;而且,你的使用感受几乎很难直接反馈到产品中,只能被动接受。 +* 开源与否,atest 采用 Apache 开源协议,是最流行的宽松开源协议之一。有些工具也许有非常丰富的功能、漂亮的界面,但相比于开源项目,免费的工具不定什么时候就有可能变为收费的;而且,你的使用感受几乎很难直接反馈到产品中,只能被动接受。 * 质量、可靠性,作为一款用于测试场景的工具,atest 本身的单元测试覆盖率达 89%,单测代码与业务逻辑代码量平分秋色;另外,每次代码改动都需要通过代码扫描、单元测试等流水线。 * 身材小巧,整个工具大小为 18M,支持 Windows、Linux、macOS 平台。 * 只有简单的可执行二进制文件,不像部分工具会给你的操作系统安装莫名其妙的系统启动项目、系统服务等。 diff --git a/docs/site/content/zh/releases/_index.md b/docs/site/content/zh/releases/_index.md index 453f7ce1..bcb2a7e6 100644 --- a/docs/site/content/zh/releases/_index.md +++ b/docs/site/content/zh/releases/_index.md @@ -1,5 +1,8 @@ ---- -title: "版本发布" -weight: 90 -description: 本节内容包含 API Testing 的版本概述。 ---- ++++ +title = "版本发布" +weight = "90" +description = "本节内容包含 API Testing 的版本概述" + +[[cascade]] +type = "docs" ++++ diff --git a/docs/site/go.mod b/docs/site/go.mod index 5850543d..41184efd 100644 --- a/docs/site/go.mod +++ b/docs/site/go.mod @@ -1,9 +1,10 @@ -module github.com/google/docsy-example +module github.com/linuxsuren/api-testing go 1.22.1 require ( - github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect - github.com/google/docsy v0.7.1 // indirect - github.com/twbs/bootstrap v5.2.3+incompatible // indirect + github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect + github.com/google/docsy v0.12.0 // indirect + github.com/google/docsy/dependencies v0.7.2 // indirect + github.com/twbs/bootstrap v5.3.6+incompatible // indirect ) diff --git a/docs/site/go.sum b/docs/site/go.sum index e1d4ad4d..8f67e285 100644 --- a/docs/site/go.sum +++ b/docs/site/go.sum @@ -4,6 +4,8 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20221115183454-96cafbd73ec4 h1:xfr9Si github.com/FortAwesome/Font-Awesome v0.0.0-20221115183454-96cafbd73ec4/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 h1:Uv1z5EqCfmiK4IHUwT0m3h/u/WCk+kpRfxvAZhpC7Gc= github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/google/docsy v0.5.1 h1:D/ZdFKiE29xM/gwPwQzmkyXhcbQGkReRS6aGrF7lnYk= github.com/google/docsy v0.5.1/go.mod h1:maoUAQU5H/d+FrZIB4xg1EVWAx7RyFMGSDJyWghm31E= github.com/google/docsy v0.6.0 h1:43bVF18t2JihAamelQjjGzx1vO2ljCilVrBgetCA8oI= @@ -12,11 +14,17 @@ github.com/google/docsy v0.7.0 h1:JaeZ0/KufX/BJ3SyATb/fmZa1DFI7o5d9KU+i6+lLJY= github.com/google/docsy v0.7.0/go.mod h1:5WhIFchr5BfH6agjcInhpLRz7U7map0bcmKSpcrg6BE= github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY= github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc= +github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4= +github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM= github.com/google/docsy/dependencies v0.5.1/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE= github.com/google/docsy/dependencies v0.6.0/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE= github.com/google/docsy/dependencies v0.7.0/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= github.com/google/docsy/dependencies v0.7.1/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= +github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI= +github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= github.com/twbs/bootstrap v4.6.2+incompatible h1:TDa+R51BTiy1wEHSYjmqDb8LxNl/zaEjAOpRE9Hwh/o= github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= github.com/twbs/bootstrap v5.2.3+incompatible h1:lOmsJx587qfF7/gE7Vv4FxEofegyJlEACeVV+Mt7cgc= github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/twbs/bootstrap v5.3.6+incompatible h1:efmXVyq839m5QQ0+JBUdQQ1TrmoBqvQ5kRhUueKsH+4= +github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/docs/site/hugo.toml b/docs/site/hugo.toml index 2bab66f9..c68d72c4 100644 --- a/docs/site/hugo.toml +++ b/docs/site/hugo.toml @@ -3,7 +3,7 @@ title = "API Testing" # Language settings contentDir = "content" -defaultContentLanguage = "zh" +defaultContentLanguage = "zh-cn" defaultContentLanguageInSubdir = false # Useful when translating. enableMissingTranslationPlaceholders = true @@ -59,12 +59,12 @@ id = "UA-00000000-0" [languages] - [languages.zh] + [languages.zh-cn] contentDir = "content/zh" languageName = "中文" # Weight used for sorting. weight = 2 - [languages.zh.params] + [languages.zh-cn.params] title = "API Testing" description = "开源的接口调试 & 测试工具" @@ -217,22 +217,22 @@ enable = true desc = "Chat with other project developers" # i18n for Chinese - [[languages.zh.params.links.user]] + [[languages.zh-cn.params.links.user]] name = "邮件列表" url = "https://groups.google.com/g/api-testing-tech" icon = "fa fa-envelope" desc = "来自其他用户的讨论和帮助" - [[languages.zh.params.links.user]] + [[languages.zh-cn.params.links.user]] name ="推特" url = "https://twitter.com/apitesting" icon = "fab fa-twitter" desc = "在 Twitter 上关注我们以获取最新消息!" - [[languages.zh.params.links.developer]] + [[languages.zh-cn.params.links.developer]] name = "GitHub" url = "https://github.com/LinuxSuRen/api-testing" icon = "fab fa-github" desc = "在这里进行开发!" - [[languages.zh.params.links.developer]] + [[languages.zh-cn.params.links.developer]] name = "Slack" url = "https://apitesting.slack.com/archives/C03E6NHLESV" icon = "fab fa-slack" @@ -257,23 +257,23 @@ enable = true url = "/latest" # i18n for Chinese - [[languages.zh.menu.main]] + [[languages.zh-cn.menu.main]] name = "版本发布" weight = -80 url = "/releases" - [[languages.zh.menu.main]] + [[languages.zh-cn.menu.main]] name = "贡献" weight = -98 url = "/contributions" - [[languages.zh.menu.main]] + [[languages.zh-cn.menu.main]] name = "关于" weight = -100 url = "/about" - [[languages.zh.menu.main]] + [[languages.zh-cn.menu.main]] name = "新闻" weight = -101 url = "/news" - [[languages.zh.menu.main]] + [[languages.zh-cn.menu.main]] name = "文档" weight = -102 url = "/latest" @@ -286,4 +286,3 @@ enable = true # [[params.versions]] # version = "v0.0.1" # url = "/v0.0.1" - \ No newline at end of file diff --git a/docs/site/package.json b/docs/site/package.json index 0ea8876e..4f9bb028 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "autoprefixer": "^10.4.14", - "hugo-extended": "0.123.8", + "hugo-extended": "0.148.2", "postcss-cli": "^10.1.0" } }