From cf32d388fec23b151cf5ee7794c06f057d935e77 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Mon, 21 Jul 2025 16:46:50 +0800 Subject: [PATCH] Update doc --- .github/ISSUE_TEMPLATE/config.yml | 2 +- README.md | 10 ++++++---- doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 16f45be..e4895ca 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,4 @@ blank_issues_enabled: true contact_links: - name: ❤️ 赞赏支持 chsrc url: https://afdian.com/a/ccmywish - about: chsrc 是否帮助到了你?帮助作者更好的开发和维护 chsrc + about: 你是否因为 `chsrc` 而受到启发、节省了时间精力 or whatever? diff --git a/README.md b/README.md index 9a764c7..87e7f60 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ chsrc logo -全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (MSYS2, Cygwin), macOS, BSD 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。 +全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (native, MSYS2, Cygwin), macOS, BSD, Android 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。 我们使用 **C11** 来完成上述目标。我们并不使用 Python 或 JS 等解释语言,因为一个简单的换源工具,不应该强行塞给用户一个庞大的解释器和数十、数百 MB 其他文件。 @@ -38,7 +38,7 @@ ## 🤝 协作与贡献 > [!TIP] -> **`chsrc` 不仅是一个命令行工具,同时也是一个体现了 Ruby on Rails 思想的 MVC 换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法(recipe)。** [Write A Recipe Even If You Don't Know C](./doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md) +> **`chsrc` 不仅是一个命令行工具,同时也是一个体现了 Ruby on Rails 思想的 MVC 换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法 (recipe)。** 配合使用 [rawstr4c], 这将比写 shell 脚本更加轻松。 [Write A Recipe Even If You Don't Know C](./doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md) --- @@ -518,14 +518,16 @@ chsrc set conda | anaconda ## 🚀 赞赏支持 -你是否因为使用 `chsrc` 而节省了时间和精力 or whatever? +你是否因为 `chsrc` 而受到启发、节省了时间精力 or whatever? 爱发电主页: -wechat-reward +wechat-reward
+[rawstr4c]: https://github.com/RubyMetric/rawstr4c + [@Aaron-212]: https://github.com/Aaron-212 [@chenrui333]: https://github.com/chenrui333 [@niheaven]: https://github.com/niheaven diff --git a/doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md b/doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md index 65d06c5..8bf1729 100644 --- a/doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md +++ b/doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md @@ -7,7 +7,7 @@ ! Contributors : Nul None ! | ! Created On : <2024-08-19> - ! Last Modified : <2025-07-15> + ! Last Modified : <2025-07-21> ! ---------------------------------------------------------- --> # Write A Recipe Even If You Don't Know C @@ -18,15 +18,15 @@
-我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 这将非常简单,你的贡献也将非常有价值。理论上每一个 `recipe` 都需要有专人长时间维护 ([招募](https://github.com/RubyMetric/chsrc/issues/130))。 +我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 框架,这将比写 shell 脚本更加轻松,你的贡献也将非常有价值。理论上每一个 `recipe` 都需要有专人长时间维护 ([招募](https://github.com/RubyMetric/chsrc/issues/130))。 - 本项目采用 `GPLv3+` 协议,是真正的**自由软件**,而非仅仅是开源软件 - 代码规范灵活遵循 `GNU` 标准(若标准干扰了可维护性,则并不采纳) - 高度模块化,目录结构清晰易懂 -- 极小依赖,极易构建,只需要 `GCC` 或 `Clang` 即可编译 (`make` 和 `just`可简化,但不是必需的) +- 极小依赖,极易构建,只需要 `GCC` 或 `Clang` 即可编译 (`make` 和 `just`可简化编译,但不是必需的) - 易于将 `shell` 脚本转换为等价的 `recipe` - 已有大量 `recipe` 可提供参考,并提供了 [recipe template] 供直接使用 -- [rawstr4c] 帮助你在C语言中维护复杂的字符串 +- 本仓库外的子项目 [rawstr4c] 帮助你在C语言中维护复杂的字符串 - [chsrc-bootstrap] 帮助你在没有预编译 `chsrc` 的平台上 bootstrap 自己