Skip to content

Commit ce671e2

Browse files
imagentlemanmiljan-aleksic
authored andcommitted
Upstream master sync (#25)
1 parent 19fc36d commit ce671e2

File tree

158 files changed

+21860
-13533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+21860
-13533
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ all: update deploy
22

33
deploy:
44
rm -rf public db.json
5+
node install.js
56
hexo generate
67
hexo deploy
78

89
update:
910
cd ../vue && \
1011
git checkout -- dist && \
11-
git checkout dev && \
12+
git checkout master && \
1213
npm run build
1314
cp ../vue/dist/vue.min.js themes/vue/source/js/vue.min.js
1415
cp ../vue/dist/vue.js themes/vue/source/js/vue.js

README.md

+53
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,56 @@ $ npm install -g hexo-cli
1111
$ npm install
1212
$ hexo server
1313
```
14+
15+
## On Translations
16+
17+
Translation for this documentation project are currently maintained in separate repositories forked from this original one.
18+
19+
### French
20+
21+
French translation is maintained by Vuejs-FR.
22+
23+
* Translation Repo — [/vuejs-fr/vuejs.org](https://github.com/vuejs-fr/vuejs.org)
24+
25+
### Italian
26+
27+
* Translation Repo - [/vuejs/it.vuejs.org](https://github.com/vuejs/it.vuejs.org)
28+
29+
### Japanese
30+
31+
Japanese translation is maintained by [Vue.js japan user group](https://github.com/vuejs-jp)
32+
33+
* Translation Repo - [/vuejs/jp.vuejs.org](https://github.com/vuejs/jp.vuejs.org)
34+
* Primary maintainer - [kazupon](https://github.com/kazupon)
35+
36+
### Korean
37+
38+
Korean translation is maintained by [Vue.js Korean User group](https://github.com/vuejs-kr).
39+
40+
* Translation Repo - [/vuejs-kr/kr.vuejs.org](https://github.com/vuejs-kr/kr.vuejs.org)
41+
* Primary maintainer - [ChangJoo Park](https://github.com/ChangJoo-Park)
42+
43+
### Mandarin
44+
45+
* Translation Repo - [/vuejs/cn.vuejs.org](https://github.com/vuejs/cn.vuejs.org)
46+
47+
### Português-Br
48+
49+
Português-Br translation is maintained by [Vuejs-Br](https://github.com/vuejs-br).
50+
51+
* Translation Repo - [/vuejs-br/br.vuejs.org](https://github.com/vuejs-br/br.vuejs.org)
52+
53+
### Russian
54+
55+
Russian translation is maintained by Translation Gang.
56+
57+
* Translation Repo — [/translation-gang/ru.vuejs.org](https://github.com/translation-gang/ru.vuejs.org)
58+
* Primary maintainer - [Grigoriy Beziuk](https://gbezyuk.github.io)
59+
60+
### Want to help with the translation?
61+
62+
If you feel okay with translating sorta alone, you can fork the repo, create a "work-in-progress" issue to inform others that you're doing the translation, and go for it.
63+
64+
If you are more of a team player, Translation Gang might be for you. Let us know somehow that you're ready to join this international open-source translators community. Feel free to contact [Grigoriy Beziuk](https://gbezyuk.github.io) or anybody else from [the team](https://github.com/orgs/translation-gang/people).
65+
66+
And thank you in advance ;)

_config.yml

+42-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ language:
1212

1313
# URL
1414
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
15-
url: http://vuejs.org
15+
url: https://vuejs.org
1616
root: /
1717
permalink: :year/:month/:day/:title/
1818
tag_dir: tags
@@ -93,6 +93,47 @@ markdown:
9393
smartLists: true
9494
smartypants: true
9595

96+
# Offline
97+
## Config passed to sw-precache
98+
## https://github.com/JLHwung/hexo-offline
99+
offline:
100+
maximumFileSizeToCacheInBytes: 10485760
101+
staticFileGlobs:
102+
- public/**/*.{js,html,css,png,jpg,jpeg,gif,svg,eot,ttf,woff,woff2,json,xml}
103+
stripPrefix: public
104+
verbose: true
105+
runtimeCaching:
106+
# Ad Sources - should be networkFirst
107+
- urlPattern: /*
108+
handler: networkFirst
109+
options:
110+
origin: sendgrid.sp1.convertro.com
111+
- urlPattern: /*
112+
handler: networkFirst
113+
options:
114+
origin: ad.doubleclick.net
115+
# CDNs - should be cacheFirst, since they should be used specific versions so should not change
116+
- urlPattern: /*
117+
handler: cacheFirst
118+
options:
119+
origin: cdn.jsdelivr.net
120+
- urlPattern: /*
121+
handler: cacheFirst
122+
options:
123+
origin: fonts.googleapis.com
124+
- urlPattern: /*
125+
handler: cacheFirst
126+
options:
127+
origin: fonts.gstatic.com
128+
- urlPattern: /*
129+
handler: cacheFirst
130+
options:
131+
origin: cdnjs.cloudflare.com
132+
- urlPattern: /*
133+
handler: cacheFirst
134+
options:
135+
origin: maxcdn.bootstrapcdn.com
136+
96137
# Deployment
97138
## Docs: http://zespia.tw/hexo/docs/deployment.html
98139
deploy:

assets/lifecycle.ai

+4,704-4,328
Large diffs are not rendered by default.

install.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var fs = require('fs')
2+
var execSync = require('child_process').execSync
3+
var deps = require('./package.json').dependencies
4+
var depFolders = Object.keys(deps)
5+
6+
for (var depFolder in deps) {
7+
if (!fs.existsSync('./node_modules/' + depFolder)) {
8+
console.log('Dependency "' + depFolder + '" is NOT installed - installing now...')
9+
execSync('npm install')
10+
process.exit(0)
11+
}
12+
}
13+
14+
console.log('All dependencies are already installed.')

0 commit comments

Comments
 (0)