docs(course): Update project initialization section in zig command documentation Updated the documentation for the zig init command, added newly created files build.zig.zon and root.zig , and improved the directory structure comments. Also corrected the file list description to match the actual generated files.Actually,I found that even with zig 0.14.0 (the previous version which also mentioned on this site page),the output of zig init is the same as with zig 0.14.1,which is different from what this documentation descirbes.Anyway,I think it needs to be updated to avoid being misleading.
docs(course): Update project initialization section in zig command documentation
Updated the documentation for the zig init command, added newly created files build.zig.zon and root.zig , and improved the directory structure comments. Also corrected the file list description to match the actual generated files.Actually,I found that even with zig 0.14.0 (the previous version which also mentioned on this site page),the output of zig init is the same as with zig 0.14.1,which is different from what this documentation descirbes.Anyway,I think it needs to be updated to avoid being misleading.
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. Zig 是一种通用的编程语言和工具链,用于维护健壮、最优和可重用的软件
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
Zig 是一种通用的编程语言和工具链,用于维护健壮、最优和可重用的软件
欢迎各位志同道合的“道友”参与贡献本文档,并一起壮大 zig 中文社区!
本仓库使用的文档工具是 vitepress,建议了解一下 vitepress 的 markdown 扩展。
贡献方法:
bun i // 安装依赖 bun dev // 启动热更开发服务 bun format // 运行 prettier, zig fmt 和 autocorrect 格式化程序 bun run build // 构建产物 bun run preview // 运行预览
[!NOTE] 请自行安装 bun (建议也安装 autocorrect,并且在提交前运行 bun format)
bun
autocorrect
bun format
[!NOTE] 本文档所使用的构建工具为 bunjs,在提交时请勿将其他 nodejs 的包管理工具的额外配置文件添加到仓库中。
如需要更新依赖,请参照此处 Lockfile 先设置 git 使用 bun 来 diff 文件!
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Zig 语言圣经
参与贡献
欢迎各位志同道合的“道友”参与贡献本文档,并一起壮大 zig 中文社区!
本仓库使用的文档工具是 vitepress,建议了解一下 vitepress 的 markdown 扩展。
贡献方法: