Skip to content

Commit

Permalink
rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Aug 3, 2018
1 parent 74d70cf commit 2681fff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build服务器在 http://ci.mxnet.io 。这台服务器有两块Nvidia M60。

在本地可以如下build html(需要GPU支持)

```{.python .input}
```
conda env update -f build/build.yml
source activate gluon_zh_docs
make html
Expand All @@ -30,7 +30,7 @@ make html

如果没有改动notebook里面源代码,所以不想执行notebook,可以使用

```{.python .input}
```
make html EVAL=0
```

Expand All @@ -40,12 +40,12 @@ make html EVAL=0

编译pdf版本需要xelatex、librsvg2-bin(svg图片转pdf)和思源字体。在Ubuntu可以这样安装。

```{.python .input}
```
sudo apt-get install texlive-full
sudo apt-get install librsvg2-bin
```

```{.python .input}
```
wget https://github.com/adobe-fonts/source-han-sans/raw/release/OTF/SourceHanSansSC.zip
wget https://github.com/adobe-fonts/source-han-serif/raw/release/OTF/SourceHanSerifSC_SB-H.zip
wget https://github.com/adobe-fonts/source-han-serif/raw/release/OTF/SourceHanSerifSC_EL-M.zip
Expand Down Expand Up @@ -80,13 +80,13 @@ sudo fc-cache -f -v

然后可以编译了。

```{.python .input}
```
make pdf
```

## 其他安装

```{.python .input}
```
python -m spacy download en # 需已 pip install spacy
```

Expand Down

0 comments on commit 2681fff

Please sign in to comment.