Skip to content

Commit

Permalink
build pytorch pdf (#892)
Browse files Browse the repository at this point in the history
* build pytorch pdf

* remove discuss and add pytorch pdf
  • Loading branch information
astonzhang authored Jun 30, 2021
1 parent 61bf311 commit b0ce242
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ stage("Build and Publish") {
d2lbook build pdf
"""

sh label:"Build Pytorch PDF", script:"""set -ex
conda activate ${ENV_NAME}
d2lbook build pdf --tab pytorch
"""

if (env.BRANCH_NAME == 'release') {
sh label:"Release", script:"""set -ex
conda activate ${ENV_NAME}
Expand Down
8 changes: 4 additions & 4 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ sphinx_configs = numfig_format = {'figure': '图%%s', 'table': '表%%s', 'code-b
# items: name, URL, and a fontawesome icon
# (https://fontawesome.com/icons?d=gallery). Items are separated by commas.
# PDF, http://numpy.d2l.ai/d2l-en.pdf, fas fa-file-pdf,
header_links = 在线课程直播, https://courses.d2l.ai/zh-v2/, fas fa-user-graduate,
PDF, https://zh-v2.d2l.ai/d2l-zh.pdf, fas fa-file-pdf,
Jupyter 记事本文件, https://zh-v2.d2l.ai/d2l-zh.zip, fas fa-download,
讨论, https://discuss.d2l.ai/c/16, fab fa-discourse,
header_links = MXNet, https://zh-v2.d2l.ai/d2l-zh.pdf, fas fa-file-pdf,
PyTorch, https://zh-v2.d2l.ai/d2l-zh-pytorch.pdf, fas fa-file-pdf,
Jupyter 记事本, https://zh-v2.d2l.ai/d2l-zh.zip, fas fa-download,
课程, https://courses.d2l.ai/zh-v2/, fas fa-user-graduate,
GitHub, https://github.com/d2l-ai/d2l-zh, fab fa-github,
English, https://d2l.ai, fas fa-external-link-alt

Expand Down

0 comments on commit b0ce242

Please sign in to comment.