diff --git a/_static/scale-python-book.jpeg b/_static/scale-python-book.jpeg new file mode 100644 index 0000000..0c2459c Binary files /dev/null and b/_static/scale-python-book.jpeg differ diff --git a/conf.py b/conf.py index 53f6ac4..39a46af 100644 --- a/conf.py +++ b/conf.py @@ -39,6 +39,12 @@ "icon": "https://img.shields.io/github/stars/godaai/scale-py-zh?style=for-the-badge", "type": "url", }, + { + "name": "JD", + "url": "https://item.jd.com/14328461.html", + "icon": "https://img.shields.io/badge/JD-%E8%B4%AD%E4%B9%B0%E9%93%BE%E6%8E%A5-red", + "type": "url", + }, ], 'announcement': "如果你觉得内容对你有帮助,请在 GitHub 上点个 star 吧!", 'analytics': {'google_analytics_id': ''}, diff --git a/contribute/info.md b/contribute/info.md index ee8a49a..4308bcb 100644 --- a/contribute/info.md +++ b/contribute/info.md @@ -19,12 +19,12 @@ git clone https://github.com//scale-py-zh.git 准备环境: * 选择一个包管理工具,比如 `conda`。 -* 安装 Python >= 3.8 +* 安装 Python >= 3.9 * 安装 requirements.txt 和 requirements-dev.txt 中的各个依赖。包括本书各个案例所需要的工具 pandas 等,以及本电子书构建工具 Jupyter Book: ```bash -conda create -n dispy -source activate dispy +conda create -n scalepy +source activate scalepy conda install python=3.11 anaconda::graphviz pip install -r requirements.txt ``` diff --git a/index.md b/index.md index 554f61c..f10e4f1 100644 --- a/index.md +++ b/index.md @@ -4,14 +4,15 @@ :reverse: :::{grid-item} -:columns: 3 -:class: sd-m-auto - +:columns: 4 +```{image} ./_static/scale-python-book.jpeg +:width: 200px +``` ::: :::{grid-item} -:columns: 9 +:columns: 8 :class: sd-fs-3 Dask、Ray、Xorbits、mpi4py @@ -20,6 +21,7 @@ Dask、Ray、Xorbits、mpi4py % The SVG rendering breaks latex builds for the GitHub badge, so only include in HTML ```{only} html [![](https://img.shields.io/github/stars/godaai/scale-py-zh?style=for-the-badge)](https://github.com/godaai/scale-py-zh) +[![](https://img.shields.io/badge/JD-%E8%B4%AD%E4%B9%B0%E9%93%BE%E6%8E%A5-red?style=for-the-badge)](https://item.jd.com/14328461.html) ``` :::