{"id":19676829,"url":"https://github.com/rust-lang-cn/rustdoc-cn","last_synced_at":"2025-10-10T02:05:47.486Z","repository":{"id":44612323,"uuid":"368845657","full_name":"rust-lang-cn/rustdoc-cn","owner":"rust-lang-cn","description":"rustdoc 手册 中文版————Chinese translation of The rustdoc Book","archived":false,"fork":false,"pushed_at":"2024-06-15T15:35:06.000Z","size":112,"stargazers_count":13,"open_issues_count":3,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-29T03:41:20.856Z","etag":null,"topics":["book","rust","rust-lang","rust-lang-cn","rustdoc"],"latest_commit_sha":null,"homepage":"https://rustwiki.org/zh-CN/rustdoc/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang-cn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-19T11:28:52.000Z","updated_at":"2025-03-19T01:16:44.000Z","dependencies_parsed_at":"2024-11-11T17:33:23.870Z","dependency_job_id":null,"html_url":"https://github.com/rust-lang-cn/rustdoc-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rust-lang-cn/rustdoc-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frustdoc-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frustdoc-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frustdoc-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frustdoc-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang-cn","download_url":"https://codeload.github.com/rust-lang-cn/rustdoc-cn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frustdoc-cn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002523,"owners_count":26083399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["book","rust","rust-lang","rust-lang-cn","rustdoc"],"created_at":"2024-11-11T17:30:32.140Z","updated_at":"2025-10-10T02:05:47.471Z","avatar_url":"https://github.com/rust-lang-cn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rustdoc 手册\n\n![Build Status](https://github.com/rust-lang-cn/rustdoc-cn/workflows/CI/badge.svg)\n[![LICENSE-MIT](https://img.shields.io/badge/license-MIT-green)](https://raw.githubusercontent.com/rust-lang-cn/rustdoc-cn/master/LICENSE-MIT)\n[![LICENSE-APACHE](https://img.shields.io/badge/license-Apache%202-blue)](https://raw.githubusercontent.com/rust-lang-cn/rustdoc-cn/master/LICENSE-APACHE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/rust-lang-cn/rustdoc-cn?color=gold)](https://github.com/rust-lang-cn/rustdoc-cn/commits/master)\n[![GitHub contributors](https://img.shields.io/github/contributors/rust-lang-cn/rustdoc-cn?color=pink)](https://github.com/rust-lang-cn/rustdoc-cn/graphs/contributors)\n![Locatized 100%](https://img.shields.io/badge/localized-100%25-purple)\n[![rustwiki.org](https://img.shields.io/website?up_message=rustwiki.org\u0026url=https%3A%2F%2Frustwiki.org)](https://rustwiki.org)\n\n\u003e The Chinese Translation of [The rustdoc Book][rustdoc-book-en]\n\u003e\n\u003e - 首次于 2022-02-04 翻译完全部内容，欢迎纠正——最后更新时间 2022-02-04。\n\u003e - [David][david] 翻译完成本文档，并加入了 Rust 翻译小组群，期待更多朋友加入 [Rust 中文翻译项目组](https://github.com/rust-lang-cn)，协助我们，一起更新完善中文版，感激不尽！\n\n这是《rustdoc 手册》中文版，翻译自 [Rust 源码中的《rustdoc Book》][rustdoc-book-src]。\n\n在线版可在本组织官网上[阅读中文版][rustdoc-book-cn]（**支持同一页面中英双语切换**）或在 Rust 官网上[阅读英文版][rustdoc-book-en]。\n\n[david]: https://github.com/wendajiang\n[rustdoc-book-src]: https://github.com/rust-lang/rust/tree/master/src/doc/rustdoc\n[rustdoc-book-cn]: https://rustwiki.org/zh-CN/rustdoc/\n[rustdoc-book-en]: https://doc.rust-lang.org/rustdoc/\n\n## 构建\n\n构建之前请先安装 `mdBook` 工具。\n\n从 GitHub 下载仓库并构建：\n\n```sh\n$ git clone https://github.com/rust-lang-cn/rustdoc-cn.git\n$ cd rustdoc-cn\n$ mdbook serve\n```\n\n然后就可以在浏览器上访问 `http://localhost:3000` 来查看文档内容了。\n\n要生成本地图书，使用以下命令：\n\n```sh\n$ mdbook build\n```\n\n即可在当前仓库目录下生存一个 `book` 子目录，可找到相应的 HTML 文件。\n\n## 许可协议\n\n《rustdoc 手册》（中文版与英文版 *rustdoc Book* 均） 使用以下两种协议的任一种进行授权：\n\n- Apache 2.0 授权协议，（[LICENSE-APACHE](LICENSE-APACHE) 或 http://www.apache.org/licenses/LICENSE-2.0）\n- MIT 授权协议 ([LICENSE-MIT](LICENSE-MIT) 或 http://opensource.org/licenses/MIT)\n\n可以根据自己选择来定。\n\n除非您有另外说明，否则您在本仓库提交的任何贡献均按上述方式进行双重许可授权，就如 Apache 2.0 协议所规定那样，而无需附加任何其他条款或条件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang-cn%2Frustdoc-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang-cn%2Frustdoc-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang-cn%2Frustdoc-cn/lists"}