# rust-doc **Repository Path**: QianNiaoYu/rust-doc ## Basic Information - **Project Name**: rust-doc - **Description**: rust文档,copy 自社区的中文翻译仓库 https://github.com/KaiserY/trpl-zh-cn,因为嫌弃这个仓库的官方翻译网站 https://kaisery.github.io/ 的访问速度太慢,所以自己部署一套 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-30 - **Last Updated**: 2023-01-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Rust 程序设计语言(2021 edition 施工中)简体中文版 ![Build Status](https://github.com/KaiserY/trpl-zh-cn/workflows/CI/badge.svg) ## 状态 施工中。 PS: * 对照源码位置:[https://github.com/rust-lang/book/tree/main/src][source] * 每章翻译开头都带有官方链接和 commit hash,若发现与官方不一致,欢迎 Issue 或 PR :) [source]: https://github.com/rust-lang/book/tree/main/src ## 静态页面构建与文档撰写 注意,这里我修改过了,原版的这里是使用 vuepress 构建,但效果不好,所以使用原本在下面推荐的 mdBook。 需要先安装 rust 才能使用 mdBook。 ### 安装 mdBook ```sh cargo install mdbook ``` ### 启动开发环境 > 貌似会报错并启动失败,但不重要,也没想自己编辑这个文档 ```sh mdbook serve ``` ### 构建 > 可能会报错,不重要,因为还是编译成功了,编译出的静态页面放在 book/html 目录下。 ```sh mdbook build ``` ## 社区资源 - Rust 语言中文社区: - Rust 中文 Wiki: - Rust 编程语言社区 1 群,群号:303838735(已满,只能内部邀请) - Rust 编程语言社区 2 群,群号:813448660 - Rust 水群 (编程社区子群),电报群:[t.me/rust_deep_water](//t.me/rust_deep_water) ## PDF [Rust 程序设计语言 简体中文版.pdf](https://kaisery.github.io/trpl-zh-cn/Rust%20%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80%20%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%E7%89%88.pdf) - emoji 无法显示 - ferris 无法显示 ## GitBook 本翻译主要采用 [mdBook](https://github.com/rust-lang-nursery/mdBook) 格式。同时支持 [GitBook](https://github.com/GitbookIO/gitbook),但会缺失部分功能,如一些代码没有语法高亮。 本翻译加速查看站点有: - 深圳站点: [GitBook.com](https://www.gitbook.com/) 地址: