Skip to content

Commit a07714f

Browse files
committed
(增强)增加深度学习相关内容
1 parent 5008cba commit a07714f

22 files changed

+4949
-15
lines changed

docs/.vuepress/components/ahome-footer.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<div class="left-box item">
1313
<h4>👥兄弟文档</h4>
1414
<ul>
15+
<li>
16+
<a href="https://www.paddlepaddle.org.cn/?from=numpy-cn" target="_blank">PaddlePaddle 中文文档</a>
17+
</li>
1518
<li>
1619
<a href="https://www.pypandas.cn/" target="_blank">Pandas 中文网</a>
1720
</li>

docs/.vuepress/components/ahome-wxpub.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export default {
2020
return {
2121
recommend: [
2222
{
23-
poster: "https://extraimage.net/images/2019/09/23/12a103eb0e87862b65879e7b1e6faaca.jpg",
24-
title: "不要再去报班啦!纯新手入门机器/深度学习自学指南(附一个月速成方案",
25-
url: "https://mp.weixin.qq.com/s/VYUGU2S-dWDCQfsl6C7oGQ"
23+
poster: "https://paddlepaddle-org-cn.bj.bcebos.com/paddle-site-front/static/media/banner.a53a5ad414cd2bc5e0f6d00cc4f53f50.png",
24+
title: "免费深度学习模型库(覆盖图像、自然语言处理、推荐等多种方向的官方模型",
25+
url: "https://www.paddlepaddle.org.cn/modelbase?from=numpy-cn"
2626
},
2727
{
2828
poster: "https://extraimage.net/images/2019/09/23/1f16b487646cad220a131d55feeaa446.jpg",

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = ctx => ({
2222
'.vuepress/sidebar/article_zh.js',
2323
'.vuepress/sidebar/bedocs_en.js',
2424
'.vuepress/sidebar/bedocs_zh.js',
25+
'.vuepress/sidebar/deep_zh.js',
2526
'.vuepress/sidebar/dev_en.js',
2627
'.vuepress/sidebar/dev_zh.js',
2728
'.vuepress/sidebar/f2py_zh.js',

docs/.vuepress/configs/themeConfig.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ module.exports = {
99
title: '文档公告',
1010
content: `我们经常发布文档更新,部分页面的翻译可能仍在进行中。有关最新信息,请访问<a href="/en/">英文文档</a>。如果某个页面上的翻译有问题,请提issues<a href="https://github.com/teadocs/numpy-cn/issues" target="_blank">告诉我们</a>。`
1111
}],
12-
// 评论面板配置
12+
// 评论设置
1313
comment: {
14+
enable: true
15+
},
16+
// 聊天面板配置
17+
chatRoom: {
1418
title: 'NumPy 爱好者'
1519
},
1620
repo: 'teadocs/numpy-cn',
@@ -29,6 +33,7 @@ module.exports = {
2933
'/f2py/': require('../sidebar/f2py_zh')(),
3034
'/dev/': require('../sidebar/dev_zh')(),
3135
'/bedocs/': require('../sidebar/bedocs_zh')(),
36+
'/deep/': require('../sidebar/deep_zh')(),
3237
'/article/': require('../sidebar/article_zh')()
3338
}
3439
},

docs/.vuepress/nav/zh.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ module.exports = [
44
link: '/about/'
55
},
66
{
7-
text: 'NumPy 文章',
7+
text: '文章',
88
link: '/article/'
99
},
10+
{
11+
text: '深度学习',
12+
link: '/deep/',
13+
important: true
14+
},
1015
{
1116
text: '用户指南',
1217
link: '/user/'
6.68 KB
Loading

docs/.vuepress/sidebar/deep_zh.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = function () {
2+
return [
3+
{
4+
title: '深度学习基础教程',
5+
collapsable: true,
6+
sidebarDepth: 3,
7+
children: [
8+
['/deep/basics/', '前言'],
9+
['/deep/basics/fit_a_line', '线性回归'],
10+
['/deep/basics/recognize_digits', '数字识别'],
11+
['/deep/basics/image_classification', '图像分类'],
12+
['/deep/basics/word2vec', '词向量'],
13+
['/deep/basics/recommender_system', '个性化推荐'],
14+
['/deep/basics/understand_sentiment', '情感分析'],
15+
['/deep/basics/label_semantic_roles', '语义角色标注'],
16+
['/deep/basics/machine_translation', '机器翻译'],
17+
['/deep/basics/gan', '生成对抗网络']
18+
]
19+
}
20+
]
21+
}

docs/.vuepress/styles/index.styl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ pre.vue-container
1616
color #808080
1717
font-weight light
1818

19-
.theme-default-content
20-
ul
21-
li
22-
color lighten($textColor, 25%)
19+
.home
20+
.theme-default-content
21+
ul
22+
li
23+
color lighten($textColor, 25%)
2324

2425
.MathJax
2526
outline 0

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ meta:
66
- name: description
77
content: 这是NumPy官方的中文文档,NumPy是用Python进行科学计算的基础软件包。
88
heroImage: https://extraimage.net/images/2019/09/23/5ac6e9d90002903efacacdcb8182b8ed.png
9-
actionText: 快速开始
9+
actionText: 快速了解
1010
actionLink: /user/
11+
action2Text: 学习深度学习 →
12+
action2Link: /deep/
1113
footer: 署名-非商业性使用-相同方式共享 3.0 中国大陆 (CC BY-NC-SA 3.0 CN) | Copyright © 2019-present Zhi Bing
1214
---
1315

docs/deep/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# NumPy 与深度学习
2+
3+
<a href="https://www.paddlepaddle.org.cn/?from=numpy-cn" target="_blank">
4+
<img src="https://extraimage.net/images/2019/10/20/9d3fe9e349990cba65902826dda16f11.png">
5+
</a>
6+
7+
欢迎来到 NumPy 与深度学习栏目!
8+
9+
本栏目会指导你如何使用 [NumPy](https://www.numpy.org.cn/) 和 国产深度学习框架[paddlepaddle](https://www.paddlepaddle.org.cn/?from=numpy-cn) 进行深度学习的入门。

0 commit comments

Comments
 (0)