From 349b5500e765564e107c06e91dc745a344870449 Mon Sep 17 00:00:00 2001 From: "autumnsilverleaves@gmail.com" Date: Thu, 19 Jul 2018 10:22:27 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9D=99=E6=80=81?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9E=84=E5=BB=BA=E3=80=81=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=92=B0=E5=86=99=E7=83=AD=E6=9B=B4=E6=96=B0=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加静态页面构建、文档撰写热更新方法 --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index d9ebbe6..e5e22d3 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,32 @@ 每章翻译开头都带有官方链接和 commit hash,若发现与官方不一致,欢迎 Issue 或 PR :) +## 静态页面构建与文档撰写 + +### 构建 + +你可以将本mdbook构建成一系列静态html页面。这里我们采用vuepress打包出静态网页。在这之前,你需要安装Nodejs。 + +全局安装vuepress + +``` bash +npm i -g vuepress +``` + +cd到项目目录,然后开始构建。构建好的静态文档会出现在"./src/.vuepress/dist"中 + +```bash +vuepress build ./src +``` + +### 文档撰写 + +vuepress会启动一个本地服务器,并在浏览器对你保存的文档进行实时热更新。 + +```bash +vuepress dev ./src +``` + ## 社区资源 - Rust语言中文社区:[https://rust.cc/](https://rust.cc/) From 7f645f350dd62027a6176ae6eb83df4d478b908b Mon Sep 17 00:00:00 2001 From: SilverLeaves <31165554+SilverLeaves@users.noreply.github.com> Date: Thu, 19 Jul 2018 10:45:02 +0800 Subject: [PATCH 2/5] =?UTF-8?q?Vuepress=E6=9E=84=E5=BB=BA=E9=9D=99?= =?UTF-8?q?=E6=80=81=E9=A1=B5=E9=9D=A2=E6=95=88=E6=9E=9C=E6=88=AA=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vuepress构建静态页面效果截图 --- vuepress_page.png | Bin 0 -> 22092 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 vuepress_page.png diff --git a/vuepress_page.png b/vuepress_page.png new file mode 100644 index 0000000000000000000000000000000000000000..367a1b7e107877661f30cd475bf799f401f59fc3 GIT binary patch literal 22092 zcmdSBcTkgE^d}zayr76k69E+kl@bvt(xM`u(o}kvmWa}8C;=l<}~yR$Ribz&($A*iaIVX0AJ`}_qFbWKqb*E2UhgJ zcV?GI#_k}{nfjA|rwGp9Y(XIXiN_D`>%lEnMo|g;`pEfXDkBzGy95s$Olo~qGkGi1 z!s^xrkAu}c3wQPgkWjX(#HHwOk#wPSAtfB_G01mO+JB<1c%;;MgfaA-eq8@Bt}8_S z(gphS5ADYP6zA1=ulS~^Qx+E2V1+e3IofG?@;N&D{$)$49f9nCL@zmM*g&Aqc1(&O z(3|+nWZ;oWNF6Qkg7^Rbg&1~lJU~}*d+~mW>k+%_aEEjFra+B~zb!GLv1^wpNb5+_8QrZB4U8$4L|g0gtmYQ_sJ=M&dmK_kMMol`o00YQ-o;Oy z`n+CjM+cBTccYMWR(wK$_eeqc9YCtO%s6m_%d#;nmr*8puGuECb]@} zUUS=Ur2vcA`gCwLK*J)GSABjZPIGllFLJ zXhYG}NfD<3#q-_O?Y7;~R!fbjVibU1lDD0&Iou&aSF+Se85|q+T!-k!B~wz(&OTrF zi`Vi3!`M~_cF_0KA=yuZh}v%VPNliVk%oqM@Pl#T?p_4zA`O466kLOP!O`SLsbnvevIN|!Zym`t;0nd_3S{OX9E z8)8qSi6y{=C;1{SHkrX0{ZHJPw~fe~2Ig$sg`mfIGVI^8Xnu08D^YH6c&dT8o4`linp zrbd<_MW(a@UJYEEavCf$Uy#4ev}7*;-}iODFu<8Js=>Ab- z#kmc z;_l}0t%OBpq2iYf(7j1{HbqedI}K8X_pbB}&>OqQN8#u9@}DQiP6)%+M#gf)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O6&ydsX=bb@NpjZcG!cC1u@ z=$x&4qPcG8+6vfoMTJ0g3)n+%d}S0Xnm22z-cfiF*()+*<4 zLpNap8p|q57@&}B7l4t${JW>59a zTUafzJc2#S zMx^TM+Abfe_S=AYeH|?C0+sn4N2p2`;e2vheEqGg_+Oy0`uQ0kkZ>rw!H}jC)Lf3!QI1aFI_~ug=AKaYPUz&l<^jG zLk*4{ItgZi4uI7M-yWVxp8RZuZ2iwUK=xm+yAs7-4h=RqYNK&G`EaUabi|k_1ba6h zF?g@v2icvq=_Zc72>Z3KzF6WB0B09LBHCG6N8{Ljlk(urQ@Rp6M}mc-+?s>O{}2%OS7KzzlKvJW7Fl{s^Y zp$NG=^IEu@Z8i~nDaW&wyCdta_nd|)I-|RHj(L~2D6NsAwo|_vSIU4le|rMN1{>f& m1v~41qjUbBC$2|qgx<<{_}f(%M<4-nahY5+zffjyGyES1hOmeL literal 0 HcmV?d00001 From 3885d327be070c15e998d6e9b706ac1e34c81270 Mon Sep 17 00:00:00 2001 From: SilverLeaves <31165554+SilverLeaves@users.noreply.github.com> Date: Thu, 19 Jul 2018 10:49:07 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9D=99=E6=80=81?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9E=84=E5=BB=BA=E3=80=81=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=92=B0=E5=86=99=E7=83=AD=E6=9B=B4=E6=96=B0=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加静态页面构建、文档撰写热更新方法。配图。 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e5e22d3..4175392 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ ## 静态页面构建与文档撰写 +![image](/vuepress_page.png) + ### 构建 你可以将本mdbook构建成一系列静态html页面。这里我们采用vuepress打包出静态网页。在这之前,你需要安装Nodejs。 @@ -45,4 +47,4 @@ vuepress dev ./src 本翻译主要采用 [mdBook](https://github.com/rust-lang-nursery/mdBook) 格式。同时支持 [GitBook](https://github.com/GitbookIO/gitbook),但会缺失部分功能,如一些代码没有语法高亮。 -[GitBook.com](https://www.gitbook.com/) 地址:[https://www.gitbook.com/book/kaisery/trpl-zh-cn/details](https://www.gitbook.com/book/kaisery/trpl-zh-cn/details) \ No newline at end of file +[GitBook.com](https://www.gitbook.com/) 地址:[https://www.gitbook.com/book/kaisery/trpl-zh-cn/details](https://www.gitbook.com/book/kaisery/trpl-zh-cn/details) From d6227b026ce4cbc8976ab5316e20ebcb7058ba49 Mon Sep 17 00:00:00 2001 From: SilverLeaves <31165554+SilverLeaves@users.noreply.github.com> Date: Thu, 19 Jul 2018 10:54:00 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9D=99=E6=80=81?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9E=84=E5=BB=BA=E3=80=81=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=92=B0=E5=86=99=E7=83=AD=E6=9B=B4=E6=96=B0=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加静态页面构建、文档撰写热更新方法。更新配图、链接。 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4175392..0a67ff1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ### 构建 -你可以将本mdbook构建成一系列静态html页面。这里我们采用vuepress打包出静态网页。在这之前,你需要安装Nodejs。 +你可以将本mdbook构建成一系列静态html页面。这里我们采用[vuepress](https://vuepress.vuejs.org/zh/)打包出静态网页。在这之前,你需要安装[Nodejs](https://nodejs.org/zh-cn/)。 全局安装vuepress From 6901ffd11f58385db884c46197080494bcd90fa7 Mon Sep 17 00:00:00 2001 From: SilverLeaves <31165554+SilverLeaves@users.noreply.github.com> Date: Thu, 19 Jul 2018 12:16:46 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E7=AB=99=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加加速查看站点http://rustdoc.saigao.fun --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0a67ff1..b02a942 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,6 @@ vuepress dev ./src 本翻译主要采用 [mdBook](https://github.com/rust-lang-nursery/mdBook) 格式。同时支持 [GitBook](https://github.com/GitbookIO/gitbook),但会缺失部分功能,如一些代码没有语法高亮。 +本翻译加速查看站点[上海站点http://rustdoc.saigao.fun](http://rustdoc.saigao.fun) + [GitBook.com](https://www.gitbook.com/) 地址:[https://www.gitbook.com/book/kaisery/trpl-zh-cn/details](https://www.gitbook.com/book/kaisery/trpl-zh-cn/details)