Go to file
jinzhongjia 13b3b6b5f3 fix function closure 2025-04-07 09:40:51 +08:00
.github ci: dependabot support (#218) 2025-02-22 11:03:30 +08:00
build docs: update to `0.14.0` (#232) 2025-03-16 20:43:04 +08:00
course fix function closure 2025-04-07 09:40:51 +08:00
draw [example]:Echo Tcp Server实现 (#59) 2024-02-22 21:01:47 +08:00
.envrc [Feature]: Add support for flake.nix (#117) 2024-05-12 10:02:20 +08:00
.gitattributes 版本更新:0.13.0 (#130) 2024-06-07 23:29:37 +08:00
.gitignore Enhance: 支持导出 PDF (#187) 2024-09-09 22:56:52 +08:00
.pre-commit-config.yaml typos 2024-01-28 19:50:28 +08:00
CODE_OF_CONDUCT.md 格式化代码 2023-12-26 20:00:25 +08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2023-12-19 16:16:51 +08:00
LICENSE 更新配置 2024-01-11 21:52:57 +08:00
README.md update: readme 2025-03-19 23:22:08 +08:00
TODO.md chore: Applied auto-corrections across the entire project (#206) 2025-02-05 09:01:52 +08:00
build.zig docs: update to `0.14.0` (#232) 2025-03-16 20:43:04 +08:00
bun.lock build(deps-dev): bump @types/node from 22.13.13 to 22.13.14 2025-04-01 08:47:31 +08:00
flake.lock format code 2024-05-12 10:04:05 +08:00
flake.nix [Feature]: Add support for flake.nix (#117) 2024-05-12 10:02:20 +08:00
package.json build(deps-dev): bump @types/node from 22.13.13 to 22.13.14 2025-04-01 08:47:31 +08:00
prettierrc.json add prettier support 2023-09-10 21:19:01 +08:00

README.md

Zig 语言圣经

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.

Zig 是一种通用的编程语言和工具链,用于维护健壮、最优和可重用的软件

Cover Image

参与贡献

欢迎各位志同道合的“道友”参与贡献本文档,并一起壮大 zig 中文社区!

本仓库使用的文档工具是 vitepress建议了解一下 vitepress 的 markdown 扩展

贡献方法:

  • fork 本文档仓库
  • 创建一个新的分支,请勿直接使用主分支进行修改
  • 发起 pull request
  • 等待 review
  • 合并到上游仓库,并由 github action 自动构建
bun i // 安装依赖
bun dev // 启动热更开发服务
bun format // 运行 prettier, zig fmt 和 autocorrect 格式化程序
bun run build // 构建产物
bun run preview // 运行预览

[!NOTE] 请自行安装 bun (建议也安装 autocorrect,并且在提交前运行 bun format

[!NOTE] 本文档所使用的构建工具为 bunjs,在提交时请勿将其他 nodejs 的包管理工具的额外配置文件添加到仓库中。

如需要更新依赖,请参照此处 Lockfile 先设置 git 使用 bun 来 diff 文件!