Skip to content

Commit fd2896e

Browse files
authored
Merge pull request #6 from vuefe/2.0-cn
update
2 parents 24518a0 + dffeaf0 commit fd2896e

File tree

8 files changed

+35
-16
lines changed

8 files changed

+35
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ node_modules/
66
public/
77
.deploy*/
88
src/_drafts
9+
.avoscloud/

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
## vue.js 2.0 中文文档 http://vuefe.cn
1+
## vue.js 2.0 中文文档 https://vuefe.cn
22

33
> 欢迎大家一起参与校对工作
44
55
## 镜像站点
66

77
### LeanCloud https://vuefe.leanapp.cn/
8-
### 阿里云 http://vue.70data.net/
98

109

1110
## 贡献要求
1211

1312
### 参与:
1413

1514
- 加群参与 `427447379`
16-
- 发布网址 [vuefe.cn](http://vuefe.cn/)
17-
- 翻译仓库 [中文翻译分支 2.0-cn](https://github.com/vuefe/vuejs.org)
18-
- [基础指引](https://github.com/vuefe/vuejs.org/issues/25)
15+
- 发布网址 [vuefe.cn](https://vuefe.cn)
16+
- 翻译仓库 [中文翻译分支 2.0-cn](https://github.com/vuefe/vuefe.github.io)
17+
- [基础指引](https://github.com/vuefe/vuefe.github.io/issues/25)
1918
- 如果你看到错别字、漏译、错译,请直接提交 pr ([帮助](https://help.github.com/articles/using-pull-requests/))。
2019
- 如果你看到网站问题,或者创建一个 issue ,或者直接提交 pr 。
2120
- 如果你对已有翻译有异议,建议创建一个 issue 讨论。
@@ -70,12 +69,12 @@
7069
```
7170

7271
- 完成后,打钩表示完成,并附带发起的合并请求链接
73-
- [x] 我校对 + `文档序号 ` + https://github.com/vuefe/vuejs.org/pull/65 (发起的合并请求链接)
72+
- [x] 我校对 + `文档序号 ` + https://github.com/vuefe/vuefe.github.io/pull/65 (发起的合并请求链接)
7473

7574
- markdown语法 - 示例
7675

7776
```markdown
78-
- [x] 我xx + `1 ` https://github.com/vuefe/vuejs.org/pull/65 (发起的合并请求链接)
77+
- [x] 我xx + `1 ` https://github.com/vuefe/vuefe.github.io/pull/65 (发起的合并请求链接)
7978
```
8079

8180
- 支持多人协作翻译。已经认领过的翻译,如果你觉着他/她翻译的太慢,可以再次认领,加速翻译。
@@ -97,12 +96,12 @@
9796
校对中 <br />
9897

9998
### webpack2
100-
翻译中 [webpack.js.org](https://github.com/vuefe/webpack.js.org) <br />
99+
翻译中 [webpack.js.org](https://github.com/vuefe/webpack2) <br />
101100

102101

103102

104103

105104
## 参与翻译&校对成员名单
106-
https://github.com/vuefe/vuejs.org/issues/192
105+
https://github.com/vuefe/vuefe.github.io/issues/192
107106

108107
### 感谢所有参与翻译的朋友们!

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ markdown:
9797
## Docs: http://zespia.tw/hexo/docs/deployment.html
9898
deploy:
9999
type: git
100-
repository: git@github.com:vuefe/vuefe.github.io.git
101-
branch: master
100+
repository: https://github.com/vuefe/vuefe.github.io.git
101+
branch: gh-pages
102102

103103
feed:
104104
type: atom

server.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
var express = require('express');
2+
var AV = require('leanengine');
3+
var path = require('path');
4+
var app = express();
5+
6+
var port = process.env.LEANCLOUD_APP_PORT || 3000;
7+
8+
AV.init({
9+
appId: process.env.LEANCLOUD_APP_ID,
10+
appKey: process.env.LEANCLOUD_APP_KEY,
11+
masterKey: process.env.LEANCLOUD_APP_MASTER_KEY
12+
});
13+
app.enable('trust proxy');
14+
app.use(AV.express());
15+
app.use(AV.Cloud.HttpsRedirect());
16+
app.use(express.static(__dirname + '/public'));
17+
app.get('/', function(req, res) {
18+
res.sendFile(path.resolve('./public/index.html'))
19+
});
20+
21+
app.listen(port);

themes/vue/layout/index.ejs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
</div><div class="right">
1212
<h2 class="vue">Vue.js 2.0 中文</h2>
1313
<h1>
14-
先进的<br>JavaScript 框架
14+
渐进式<br>JavaScript 框架
1515
</h1>
1616
<p>
1717
<a class="button" href="/guide/">起步</a>
1818
<a class="button white" href="https://github.com/vuejs/vue" target="_blank">GITHUB</a>
19-
<a class="button white" href="https://vuefe.leanapp.cn" target="_blank">HTTPS站点</a>
2019
</p>
2120
</div>
2221
</div>

themes/vue/layout/page.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<% } %>
2828
<div class="footer">
2929
发现错误?想参与编辑?
30-
<a href="https://github.com/dingyiming/vuejs.org/tree/2.0-cn/src/<%- page.path.replace(/\.html$/, '.md') %>" target="_blank">
30+
<a href="https://github.com/vuefe/vuefe.github.io/blob/2.0-cn/src/<%- page.path.replace(/\.html$/, '.md') %>" target="_blank">
3131
在 Github 上编辑此页!
3232
</a>
3333
</div>

themes/vue/layout/partials/contributors.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div id="contributors">
2-
<p>共 <span style="color:#e66;font-size:28px;" v-text="list.length "></span> 人参与贡献,排名不分先后,<a href="https://github.com/vuefe/vuejs.org/issues/192">如有遗漏,请告知</a></p>
2+
<p>共 <span style="color:#e66;font-size:28px;" v-text="list.length "></span> 人参与贡献,排名不分先后,<a href="https://github.com/vuefe/vuefe.github.io/issues/192">如有遗漏,请告知</a></p>
33
<ul class="contributors">
44
<a v-for="item in list"
55
class="contributor"

themes/vue/layout/partials/main_menu.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
<li><a href="/vuex/" class="nav-link<%- page.path.match(/vuex/) ? ' current' : '' %>">vuex</a></li>
66
<li><a href="/examples/" class="nav-link<%- page.path.match(/examples/) ? ' current' : '' %>">示例</a></li>
77
<li><a href="https://webpack2.leanapp.cn" target="_blank">webpack</a></li>
8-
<li><a href="https://vuefe.leanapp.cn" target="_blank">HTTPS站点</a></li>
98
<li><a href="/more/" class="nav-link<%- page.path.match(/more/) ? ' current' : '' %>">更多</a></li>
109
<%- partial('partials/community_dropdown') %>

0 commit comments

Comments
 (0)