forked from apachecn/nlp-pytorch-zh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb412ee
commit 739c006
Showing
12 changed files
with
267 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
language: node_js # 构建所需的语言环境 | ||
node_js: | ||
- "v10.16.0" # 对应的版本 | ||
|
||
branches: | ||
only: | ||
- master # 构建的分支 | ||
|
||
cache: | ||
directories: | ||
- node_modules # 依赖缓存的目录 | ||
|
||
install: | ||
- npm install -g gitbook-cli # 安装编译工具 | ||
- gitbook fetch 3.2.3 # 安装 Gitbook 子版本 | ||
|
||
script: | ||
- sh run_website.sh | ||
|
||
after_script: | ||
- cd _book | ||
- git init | ||
- git config user.name ${GH_UN} | ||
- git config user.email ${GH_EMAIL} | ||
- git add -A | ||
- git commit -am "$(date "+%Y-%m-%d %H:%M:%S")" | ||
- git push "https://${GH_TOKEN}@github.com/${GH_USER}/${GH_REPO}.git" master:${GH_BRANCH} -f | ||
|
||
env: | ||
global: | ||
- GH_UN=jiangzhonglian | ||
- [email protected] | ||
- GH_USER=apachecn | ||
- GH_REPO=NLP-with-PyTorch | ||
- GH_BRANCH=gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"title" : "NLP with PyTorch 中文文档", | ||
"author" : "ApacheCN", | ||
"description" : "NLP with PyTorch 中文文档", | ||
"language" : "zh-hans", | ||
"plugins": [ | ||
"github", | ||
"github-buttons", | ||
"-sharing", | ||
"insert-logo", | ||
"sharing-plus", | ||
"back-to-top-button", | ||
"code", | ||
"copy-code-button", | ||
"mathjax", | ||
"pageview-count", | ||
"edit-link", | ||
"emphasize", | ||
"alerts", | ||
"auto-scroll-table", | ||
"popup", | ||
"hide-element", | ||
"page-toc-button", | ||
"tbfed-pagefooter", | ||
"sitemap", | ||
"advanced-emoji", | ||
"expandable-chapters", | ||
"splitter", | ||
"search-pro" | ||
], | ||
"pluginsConfig": { | ||
"github": { | ||
"url": "https://github.com/apachecn/NLP-with-PyTorch" | ||
}, | ||
"github-buttons": { | ||
"buttons": [ | ||
{ | ||
"user": "apachecn", | ||
"repo": "NLP-with-PyTorch", | ||
"type": "star", | ||
"count": true, | ||
"size": "small" | ||
} | ||
] | ||
}, | ||
"insert-logo": { | ||
"url": "https://github.com/apachecn/NLP-with-PyTorch/raw/master/cover.jpg", | ||
"style": "background: none; max-height: 150px; min-height: 150px" | ||
}, | ||
"hide-element": { | ||
"elements": [".gitbook-link"] | ||
}, | ||
"edit-link": { | ||
"base": "https://github.com/apachecn/NLP-with-PyTorch/blob/master", | ||
"label": "编辑本页" | ||
}, | ||
"sharing": { | ||
"qzone": true, | ||
"weibo": true, | ||
"twitter": false, | ||
"facebook": false, | ||
"google": false, | ||
"qq": false, | ||
"line": false, | ||
"whatsapp": false, | ||
"douban": false, | ||
"all": [ | ||
"qq", "douban", "facebook", "google", "linkedin", "twitter", "weibo", "whatsapp" | ||
] | ||
}, | ||
"page-toc-button": { | ||
"maxTocDepth": 4, | ||
"minTocSize": 4 | ||
}, | ||
"tbfed-pagefooter": { | ||
"copyright":"Copyright © ibooker.org.cn 2019", | ||
"modify_label": "该文件修订时间: ", | ||
"modify_format": "YYYY-MM-DD HH:mm:ss" | ||
}, | ||
"sitemap": { | ||
"hostname": "https://nlp-pt.apachecn.org" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.