Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
add deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Aug 24, 2024
1 parent 9d3d457 commit b649247
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 48 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: "latest"
- name: Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin
key: pages-${{ runner.os }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- run: |
if ! command -v mdbook-last-changed; then
cargo install mdbook-last-changed
fi
mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book
path: ./static

# Deployment job
deploy:
Expand Down
29 changes: 2 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,5 @@
[![](https://img.shields.io/discord/1155469703846834187?label=Chat%20on%20Discord)](https://discord.gg/57JR9u7M)
[![](https://img.shields.io/github/stars/zigcc/learning-zig?style=square&color=#30a14e)](https://github.com/zigcc/learning-zig/stargazers)

> 在线阅读地址:<https://learn.ziglang.cc>
[《学习 Zig》](https://www.openmymind.net/learning_zig/)系列教程最初由 [Karl Seguin](https://github.com/karlseguin) 编写,该教程行文流畅,讲述的脉络由浅入深,深入浅出,是入门 Zig 非常不错的选择。因此,[Zig 中文社区](https://ziglang.cc)将其翻译成中文,便于在中文用户内阅读与传播。

初次接触 Zig 的用户可以按序号依次阅读,对于有经验的 Zig 开发者可按需阅读感兴趣的章节。

## 关于原作者

[Karl Seguin](https://www.linkedin.com/in/karlseguin/) 在多个领域有着丰富经验,前微软 MVP,他撰写了大量文章,是多个微软公共新闻组的活跃成员。现居新加坡。他还是以下教程的作者:

- [The Little Go Book](https://github.com/karlseguin/the-little-go-book)
- [The Little Redis Book](https://github.com/karlseguin/the-little-redis-book)
- [The Little MongoDB Book](https://github.com/karlseguin/the-little-mongodb-book)

可以在 <http://openmymind.net> 找到他的博客,或者通过 [@karlseguin](http://twitter.com/karlseguin) 在 Twitter 上关注他。

## 翻译原则

技术文档的翻译首要原则是准确,但在准确的前提下如何保证『信、达、雅』?这是个挑战,在翻译本教程时,在某些情况下会根据上下文进行意译,便于中文读者阅读。

如果你发现拼写错误或翻译不流畅的地方,欢迎提交 [issue](https://github.com/zigcc/learning-zig/issues) 汇报,或直接提 [Pull Request](https://github.com/zigcc/learning-zig/pulls) 改进。

最后,感谢翻译者的无私贡献。❤️️

## License

[CC BY-NC-SA 4.0 DEED](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh-hans)
> [!IMPORTANT]
> 迁移到 [zigcc.github.io](https://ziglang.cc/learn/) 仓库维护。
8 changes: 8 additions & 0 deletions static/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://ziglang.cc/learn/" />
</head>
<body>
<p><a href="https://ziglang.cc/learn/">Redirect to https://ziglang.cc/learn/</a></p>
</body>
</html>

0 comments on commit b649247

Please sign in to comment.