diff --git a/build_html.sh b/build_html.sh new file mode 100644 index 0000000..e6e8446 --- /dev/null +++ b/build_html.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +rm -rf _build/rst _build/html +d2lbook build rst +cp static/frontpage.html _build/rst/ +d2lbook build html +cp -r static/image/* _build/html/_images/ \ No newline at end of file diff --git a/index.md b/index.md index 5ede668..737f631 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,11 @@ 机器学习系统:设计和实现 ========================= +```eval_rst +.. raw:: html + :file: frontpage.html +``` + ```toc :maxdepth: 2 :numbered: diff --git a/info/info.md b/info/info.md index 290099a..d739869 100644 --- a/info/info.md +++ b/info/info.md @@ -5,7 +5,7 @@ git clone https://github.com/openmlsys/d2l-book.git cd d2l-book python setup.py install ``` -使用d2lbook构建HTML需要安装`pandoc`, 可以使用`apt-get install pandoc`(如果是MacOS可以用Homebrew)和。 +使用d2lbook构建HTML需要安装`pandoc`, 可以使用`conda install pandoc` (如果是MacOS可以用Homebrew), apt源中pandoc发布版本较低,表格转换格式可能有误,请尽量使用较新版本的pandoc。 构建PDF时如果有SVG图片需要安装LibRsvg来转换SVG图片,安装`librsvg`可以通过`apt-get install librsvg`(如果是MacOS可以用Homebrew)。 当然构建PDF必须要有LaTeX,如安装[Tex Live](https://www.tug.org/texlive/). @@ -15,9 +15,9 @@ python setup.py install git clone https://github.com/openmlsys/openmlsys-zh.git cd openmlsys-zh ``` -使用d2lbook工具编译HTML。 +使用d2lbook工具编译HTML。 请尽量使用build_html.sh脚本进行编译,保证首页正确合并到书籍中去。 ``` -d2lbook build html +sh build_html.sh ``` 生成的html会在`_build/html`。 diff --git a/static/frontpage.html b/static/frontpage.html new file mode 100644 index 0000000..4a2e780 --- /dev/null +++ b/static/frontpage.html @@ -0,0 +1,459 @@ + + + + +
+
+ +
+
+
+
+

《机器学习系统:设计和实现》

+

做世界上第一本全面讲述机器学习系统知识的开源书籍

+

Star

+
+
+ + +
+
+

核心作者

+
+
+
+ +

麦络

+

爱丁堡大学

+
+
+
+
+ +

董豪

+

北京大学

+
+
+
+
+ +

金雪锋

+

MindSpore首席架构师

+
+
+
+
+ +

干志良

+

MindSpore架构师

+
+
+ +
+

章节作者

+
+
+
+ +

赖铖

+

鹏城实验室

+
+
+
+
+ +

韩佳容

+

鹏城实验室

+
+
+
+
+ +

符尧

+

爱丁堡大学

+
+
+
+
+ +

袁秀龙

+

清华大学

+
+
+ +
+
+ +

丁子涵

+

普林斯顿大学

+
+
+
+
+ +

Jiankai Sun

+

Stanford University

+
+
+
+
+ +

廖培元

+

Carnegie Mellon University

+
+
+
+
+ +

梁文腾

+

北京邮电大学

+
+
+
+
+ +

任杰

+

爱丁堡大学

+
+
+
+
+ +

张清华

+

华为工程师

+
+
+
+
+ +

梁志博

+

华为工程师

+
+
+
+
+ +

余坚峰

+

华为工程师

+
+
+
+
+ +

褚金锦

+

华为工程师

+
+
+ +
+
+ +

蔡福璧

+

华为工程师

+
+
+
+
+ +

张任伟

+

华为工程师

+
+
+
+
+ +

刘超

+

华为工程师

+
+
+
+
+ +

陈钢

+

华为工程师

+
+
+ +
+
+ +

黎明奇

+

华为工程师

+
+
+
+
+ +

韩刚强

+

华为工程师

+
+
+
+
+ +

唐业辉

+

华为工程师

+
+
+
+
+ +

翟智强

+

华为工程师

+
+
+
+
+ +

吴天诚

+

华为工程师

+
+
+
+
+ +

李小慧

+

华为工程师

+
+
+
+
+ +

李昊阳

+

华为工程师

+
+
+ +
+
+ +

谭志鹏

+

华为工程师

+
+
+
+
+ +

李姗妮

+

华为工程师

+
+
+ + +
+

感谢来自社区的贡献者

+

以及为本书提出宝贵意见的 勘误者

+

欢迎为本书贡献

+
+
+ + +

目录

+ + + + + diff --git a/static/image/jinxuefeng.png b/static/image/jinxuefeng.png new file mode 100644 index 0000000..43cd851 Binary files /dev/null and b/static/image/jinxuefeng.png differ diff --git a/static/image/logo.png b/static/image/logo.png new file mode 100644 index 0000000..bcd6e7a Binary files /dev/null and b/static/image/logo.png differ diff --git a/static/image/wutiancheng.png b/static/image/wutiancheng.png new file mode 100644 index 0000000..9c58fe3 Binary files /dev/null and b/static/image/wutiancheng.png differ diff --git a/static/image/zhaizhiqiang.png b/static/image/zhaizhiqiang.png new file mode 100644 index 0000000..5ddee75 Binary files /dev/null and b/static/image/zhaizhiqiang.png differ diff --git a/static/image/zhangqinghua.png b/static/image/zhangqinghua.png new file mode 100644 index 0000000..4d12ecb Binary files /dev/null and b/static/image/zhangqinghua.png differ diff --git a/static/readme.md b/static/readme.md new file mode 100644 index 0000000..fe72c6b --- /dev/null +++ b/static/readme.md @@ -0,0 +1,2 @@ +###Acknowledge +首页风格及源码参考自[动手学深度学习](https://github.com/d2l-ai/d2l-zh),特此提出感谢。 \ No newline at end of file