forked from apachecn/ailearning
-
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
1a1ac08
commit 294b3c2
Showing
125 changed files
with
2,492 additions
and
1,625 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
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=pytorch-doc-zh | ||
- 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
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 @@ | ||
google.com, pub-3565452474788507, DIRECT, f08c47fec0942fa0 |
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,176 @@ | ||
{ | ||
"title" : "Pytorch 中文文档", | ||
"author" : "ApacheCN", | ||
"description" : "Pytorch 中文文档: 教程和文档", | ||
"language" : "zh-hans", | ||
"plugins": [ | ||
"github", | ||
"github-buttons", | ||
"-sharing", | ||
"insert-logo", | ||
"sharing-plus", | ||
"back-to-top-button", | ||
"code", | ||
"copy-code-button", | ||
"katex", | ||
"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/pytorch-doc-zh" | ||
}, | ||
"github-buttons": { | ||
"buttons": [ | ||
{ | ||
"user": "apachecn", | ||
"repo": "pytorch-doc-zh", | ||
"type": "star", | ||
"count": true, | ||
"size": "small" | ||
} | ||
] | ||
}, | ||
"insert-logo": { | ||
"url": "http://data.apachecn.org/img/logo.jpg", | ||
"style": "background: none; max-height: 150px; min-height: 150px" | ||
}, | ||
"hide-element": { | ||
"elements": [".gitbook-link"] | ||
}, | ||
"edit-link": { | ||
"base": "https://github.com/apachecn/pytorch-doc-zh/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": "http://pytorch.apachecn.org" | ||
} | ||
}, | ||
"my_links" : { | ||
"sidebar" : { | ||
"Home" : "https://www.baidu.com" | ||
} | ||
}, | ||
"my_plugins": [ | ||
"donate", | ||
"todo", | ||
"-lunr", | ||
"-search", | ||
"expandable-chapters-small", | ||
"chapter-fold", | ||
"expandable-chapters", | ||
"expandable-chapters-small", | ||
"back-to-top-button", | ||
"ga", | ||
"baidu", | ||
"sitemap", | ||
"tbfed-pagefooter", | ||
"advanced-emoji", | ||
"sectionx", | ||
"page-treeview", | ||
"simple-page-toc", | ||
"ancre-navigation", | ||
"theme-apachecn@git+https://github.com/apachecn/theme-apachecn#HEAD", | ||
"pagefooter-apachecn@git+https://github.com/apachecn/gitbook-plugin-pagefooter-apachecn#HEAD" | ||
], | ||
"my_pluginsConfig": { | ||
"github-buttons": { | ||
"buttons": [ | ||
{ | ||
"user": "apachecn", | ||
"repo": "pytorch-doc-zh", | ||
"type": "star", | ||
"count": true, | ||
"size": "small" | ||
}, | ||
{ | ||
"user": "apachecn", | ||
"width": "160", | ||
"type": "follow", | ||
"count": true, | ||
"size": "small" | ||
} | ||
] | ||
}, | ||
"ignores": ["node_modules"], | ||
"simple-page-toc": { | ||
"maxDepth": 3, | ||
"skipFirstH1": true | ||
}, | ||
"page-toc-button": { | ||
"maxTocDepth": 2, | ||
"minTocSize": 2 | ||
}, | ||
"page-treeview": { | ||
"copyright": "Copyright © aleen42", | ||
"minHeaderCount": "2", | ||
"minHeaderDeep": "2" | ||
}, | ||
"donate": { | ||
"wechat": "微信收款的二维码URL", | ||
"alipay": "支付宝收款的二维码URL", | ||
"title": "", | ||
"button": "赏", | ||
"alipayText": "支付宝打赏", | ||
"wechatText": "微信打赏" | ||
}, | ||
"page-copyright": { | ||
"description": "modified at", | ||
"signature": "你的签名", | ||
"wisdom": "Designer, Frontend Developer & overall web enthusiast", | ||
"format": "YYYY-MM-dd hh:mm:ss", | ||
"copyright": "Copyright © 你的名字", | ||
"timeColor": "#666", | ||
"copyrightColor": "#666", | ||
"utcOffset": "8", | ||
"style": "normal", | ||
"noPowered": false | ||
}, | ||
"ga": { | ||
"token": "UA-102475051-10" | ||
}, | ||
"baidu": { | ||
"token": "75439e2cbd22bdd813226000e9dcc12f" | ||
}, | ||
"pagefooter-apachecn": { | ||
"copyright":"Copyright © ibooker.org.cn 2019", | ||
"modify_label": "该文件修订时间: ", | ||
"modify_format": "YYYY-MM-DD HH:mm:ss" | ||
} | ||
} | ||
} |
Oops, something went wrong.