Rust 程序设计语言(2021 edition 施工中)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Metaphorme 62a2e08eaa
优化Trait部分翻译
4 weeks ago
.github/workflows wip 5 months ago
listings update listings to catch up newest outputs and features of newest rust 4 months ago
src 优化Trait部分翻译 4 weeks ago
theme update to ch03-05 3 years ago
.autocorrectrc Add AutoCorrect Lint on CI. 2 years ago
.editorconfig fix mdbook-latex related format 4 years ago
.gitattributes Create .gitattributes 6 years ago
.gitignore feat: update readme to use mdbook 11 months ago
LICENSE Update LICENSE 6 years ago
README.md update ch13-01 & add proofreading_prompt.md close #809 1 month ago
book.json check to ch19-02 7 years ago
book.toml update mdbook-typst-pdf to 0.2.1 9 months ago
ferris.css update to ch03-05 3 years ago
ferris.js Update introduction 2 years ago
proofreading_prompt.md update ch13-01 & add proofreading_prompt.md close #809 1 month ago
vuepress_page.png Vuepress构建静态页面效果截图 6 years ago

README.md

Rust 程序设计语言2021 edition简体中文版

Build Status

状态

施工完毕。

PS:

校对

部分翻译采用 ChatGPT 4o 进行翻译校对。提示词详见 proofreading_prompt.md

静态页面构建与文档撰写

构建

你可以将本 mdbook 构建成一系列静态 html 页面。这里我们采用 mdbook 打包出静态网页。在这之前,你需要安装 Rust

全局安装 mdbook

cargo install mdbook

cd 到项目目录,然后开始构建。构建好的静态文档会出现在 "./book/html" 中

mdbook build

文档撰写

可以通过任意的 http 服务器来预览构建的文档。举个例子:

cargo install simple-http-server
simple-http-server .\book\html\ -i

社区资源

PDF

Rust 程序设计语言 简体中文版.pdf

GitBook

本翻译主要采用 mdBook 格式。同时支持 GitBook,但会缺失部分功能,如一些代码没有语法高亮。

本翻译加速查看站点有:

GitBook.com 地址:https://kaisery.github.io/trpl-zh-cn/