Skip to content

Commit 5d281a8

Browse files
committed
polish
1 parent 74282f6 commit 5d281a8

File tree

4 files changed

+54
-22
lines changed

4 files changed

+54
-22
lines changed

content/_index.org

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
#+TITLE: Zig 语言中文社区
22
#+DATE: 2022-07-20T12:42:38+0800
3-
#+LASTMOD: 2024-07-08T15:21:19+0800
3+
#+LASTMOD: 2024-07-14T10:08:59+0800
44

55
{{< figure src="https://ziglang.cc/logo/zigcc-logo-2.svg" height="300px" >}}
66

7-
#+begin_quote
8-
Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users.
9-
10-
[[https://ziglang.org/][Zig]] 语言中文社区(Zig Chinese Community,简称:ZigCC),致力于分享、传播 Zig 语言在中文用户内的使用。
11-
12-
[[/post/2023/09/05/hello-world/][欢迎 Zig 爱好者向本网站供稿]]
13-
#+end_quote
14-
15-
167
#+BEGIN_EXPORT html
8+
<center>
9+
<p>欢迎来到 Zig 语言中文社区!(Zig Chinese Community,简称:ZigCC)</p>
1710
<a href="https://discord.gg/UraRxD6WXD">
1811
<img src="https://img.shields.io/discord/1155469703846834187?label=Chat at Discord" />
1912
</a>
@@ -23,26 +16,56 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig langu
2316
<a href="https://ask.ziglang.cc/atom.xml">
2417
<img src="https://img.shields.io/badge/rss-F88900.svg?style=flat&logo=RSS&logoColor=white&label=论坛" />
2518
</a>
19+
</center>
2620
#+END_EXPORT
2721

28-
* 联系方式
29-
- 微信公众号
30-
{{< figure src="https://github.com/zigcc/.github/raw/main/zig_mp.png" height="130" title="Zig 公众号二维码" >}}
31-
- 微信群:关注公众号获取
32-
- 邮件:[[mailto:hello@ziglang.cc][hello@ziglang.cc]]
33-
- https://discord.gg/UraRxD6WXD
22+
23+
我们是一群对 Zig 编程语言充满热情的开发者、学习者和爱好者。我们致力于:
24+
1. 分享 Zig 相关的知识和经验
25+
2. 翻译 Zig 官方文档和重要资源
26+
3. 组织线上线下的学习活动和讨论
27+
4. 推广 Zig 语言在中文开发者中的应用
28+
29+
#+begin_quote
30+
Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users.
31+
#+end_quote
32+
33+
* 加入我们
34+
无论你是 Zig 专家还是初学者,我们都欢迎你的加入!可以通过以下方式参与社区:
35+
- 加入我们的在线讨论群:[[https://github.com/orgs/zigcc/discussions/134][微信群]]、[[https://discord.gg/UraRxD6WXD][Discord]]、[[https://t.me/ZigChinese][Telegram]]
36+
- 分享你的 Zig 项目和经验([[/post/2023/09/05/hello-world/][供稿方式]])。会在[[https://github.com/zigcc/.github/blob/main/zig_mp.png][微信公众号]]中同步。
37+
- 参加我们组织的线上线下活动
38+
39+
让我们一起探索 Zig 的魅力,推动 Zig 在中文开发者社区的发展!
40+
41+
有任何疑问、建议,欢迎通过邮件与我们交流:[[mailto:hello@ziglang.cc][hello@ziglang.cc]]
3442
* 学习资料
3543
由于 Zig 目前还处于快速迭代,因此最权威的资料无疑是官方的 [[https://ziglang.org/documentation/master/][Zig Language Reference]],遇到语言的细节问题,基本都可以在这里找到答案。
3644
其次是社区的一些高质量教程,例如:
45+
- [[https://zig.guide/][Zig Guide]] :: 英文资料, [[https://github.com/Sobeston][Sobeston]] 用户编写
3746
- [[https://ziglang.cc/learning-zig/][学习 Zig]] :: 该系列教程最初由 Karl Seguin 编写,该教程行文流畅,讲述的脉络由浅入深,深入浅出,是入门 Zig 非常不错的选择
3847
- [[https://course.ziglang.cc][Zig 语言圣经]] :: 一份内容全面、深入浅出介绍 Zig 的教程
3948
- [[https://codeberg.org/ziglings/exercises/][ziglings/exercises]] :: Learn the Zig programming language by fixing tiny broken programs.
4049
- [[https://cookbook.ziglang.cc/][Zig Cookbook]] :: A collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks
41-
- [[https://github.com/zigcc/awesome-zig][zigcc/awesome-zig]] :: A collection of some awesome public Zig programming language projects.
42-
- [[https://github.com/zigcc/zig-idioms][zigcc/zig-idioms]] :: Common idioms used in Zig
50+
- [[https://github.com/zigcc/awesome-zig][Awesome Zig]] :: A collection of some awesome public Zig programming language projects.
51+
52+
最后,推荐使用版本管理工具 [[/post/2023/10/14/zig-version-manager/][asdf]] 来安装 Zig,具体步骤:
53+
#+begin_src bash
54+
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
55+
cat <<'EOF' >> $HOME/.bashrc
56+
source "$HOME/.asdf/asdf.sh"
57+
source "$HOME/.asdf/completions/asdf.bash"
58+
EOF
59+
60+
asdf plugin-add zig https://github.com/zigcc/asdf-zig.git
4361

44-
推荐使用 asdf 来安装 Zig,具体可参考[[/post/2023/10/14/zig-version-manager/][这里]]。
62+
# 安装最新版
63+
asdf install zig latest
64+
asdf global zig latest
65+
zig version
66+
#+end_src
4567
* 更新日志
68+
- 2024-07-14 :: 启用 Zig 社区微信 2 群
4669
- 2024-03-29 :: 使用自定义域名 ziglang.cc
4770
- 2022-12-10 :: 切换主题 [[https://github.com/zwbetz-gh/cupper-hugo-theme][cupper-hugo]] --> [[https://github.com/yihui/hugo-xmin][hugo-xmin]]
4871
- 2022-07-20 :: 首次上线

content/monthly/202407.org

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#+TITLE: 202407
22
#+DATE: 2024-07-05T21:22:52+0800
3-
#+LASTMOD: 2024-07-08T15:25:05+0800
3+
#+LASTMOD: 2024-07-10T22:08:58+0800
44
#+DRAFT: true
55

66
* 重大事件
@@ -35,5 +35,12 @@ check.dependOn(&exe_check.step);
3535
zls --config-path zls.json
3636
#+end_src
3737
这样不同的项目就可以用不同的检查步骤了。
38+
** [[https://guergabo.substack.com/p/systems-distributed-24][Systems Distributed '24]]
39+
作者对这次会议的一个回顾总结,议题主要有如下几个方向:
40+
- Systems Thinking and Engineering Culture
41+
- The Rise of New Software Abstractions
42+
- Ensuring Safe and Correct Software
43+
- Lessons from Building Distributed Databases
44+
- Notes from Water Cooler Chats
3845
* 项目/工具
3946
* [[https://github.com/ziglang/zig/pulls?page=1&q=+is%3Aclosed+is%3Apr+closed%3A2024-07-01..2024-08-01][Zig 语言更新]]

content/monthly/_index.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#+TITLE: 月刊
22
#+DATE: 2024-03-31T07:54:47+0800
3-
#+LASTMOD: 2024-03-31T07:55:34+0800
3+
#+LASTMOD: 2024-07-11T23:00:01+0800
44
#+AUTHOR: Jiacai Liu
55

6-
社区内的最新进展,信息来源:[[https://zig.news/top/month][Zig NEWS]]、[[https://zigmonthly.org/][Zig monthly]]、[[https://lobste.rs/t/zig][Lobsters]]、[[https://www.reddit.com/r/Zig/][Reddit]]、[[https://discu.eu/weekly/zig/][Zig weekly newsletter]]、[[https://ziggit.dev/][Ziggit]]、[[https://github.com/zigcc/forum/discussions/new?labels=%E6%9C%88%E5%88%8A&category=general][用户推荐]]
6+
社区内的最新进展,信息来源:[[https://zig.news/top/month][Zig NEWS]]、[[https://zigmonthly.org/][Zig monthly]]、[[https://lobste.rs/t/zig][Lobsters]]、[[https://www.reddit.com/r/Zig/][Reddit]]、[[https://discu.eu/weekly/zig/][Zig weekly newsletter]]、[[https://ziggit.dev/][Ziggit]]、[[https://github.com/orgs/zigcc/discussions/new?category=%E4%BD%9C%E5%93%81%E5%88%86%E4%BA%AB][用户推荐]]
77
* 文章列表

layouts/partials/foot_custom.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
&copy; <a href="/">ZigCC</a> 2022 – {{ now.Year }}
33
| <a href="https://github.com/zigcc/zigcc.github.io">GitHub</a>
44
| <a href="https://discord.gg/UraRxD6WXD">Discord</a>
5+
| <a rel="me" href="https://mastodon.social/@liujiacai">Mastodon</a>
6+
| <a href="/index.xml">RSS</a>
57
| <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">BY-NC-ND 4.0</a>
68
</p>
79
<script>

0 commit comments

Comments
 (0)