Skip to content

Commit 420813f

Browse files
committed
Merge branch 'feature/docs-v2' into develop
* feature/docs-v2: chore(ci): Bump nodejs version chore(docs): Remove old docs chore(docs): Update to vuepress # Conflicts: # docs/README.md # docs/config.js
2 parents b002a0a + 18361a7 commit 420813f

Some content is hidden

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

93 files changed

+7139
-2667
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
22
node_js:
3-
- "6"
3+
- "10"
44
after_success:
55
- bash <(curl -s https://codecov.io/bash)

deploy-docs.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env sh
2+
3+
# abort on errors
4+
set -e
5+
# build
6+
npm run docs:build
7+
8+
# navigate into the build output directory
9+
cd docs/.vuepress/dist
10+
11+
# if you are deploying to a custom domain
12+
echo 'vue-chartjs.org' > CNAME
13+
touch .nojekyll

docs/.vuepress/config.js

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
module.exports = {
2+
title: 'vue-chartjs documentation',
3+
themeConfig: {
4+
nav: [
5+
{ text: 'Home', link: '/' },
6+
{ text: 'Guide', link: '/guide/' },
7+
{ text: 'API', link: '/api/' }
8+
],
9+
sidebar: 'auto',
10+
repo: 'apertureless/vue-chartjs',
11+
editLinks: true,
12+
editLinkText: 'Help us improve this page!',
13+
docsDir: 'docs',
14+
docsBranch: 'master',
15+
locales: {
16+
'/': {
17+
selectText: 'Languages',
18+
label: 'English',
19+
editLinkText: 'Edit this page on GitHub',
20+
serviceWorker: {
21+
updatePopup: {
22+
message: "New content is available.",
23+
buttonText: "Refresh"
24+
}
25+
},
26+
},
27+
'/zh-cn/': {
28+
selectText: 'Languages',
29+
label: '中文(简体)',
30+
editLinkText: 'Edit this page on GitHub',
31+
serviceWorker: {
32+
updatePopup: {
33+
message: "New content is available.",
34+
buttonText: "Refresh"
35+
}
36+
},
37+
},
38+
'/id/': {
39+
selectText: 'Languages',
40+
label: 'Bahasa Indonesia',
41+
editLinkText: 'Edit this page on GitHub',
42+
serviceWorker: {
43+
updatePopup: {
44+
message: "New content is available.",
45+
buttonText: "Refresh"
46+
}
47+
},
48+
},
49+
'/ja/': {
50+
selectText: 'Languages',
51+
label: '日本語',
52+
editLinkText: 'Edit this page on GitHub',
53+
serviceWorker: {
54+
updatePopup: {
55+
message: "New content is available.",
56+
buttonText: "Refresh"
57+
}
58+
},
59+
},
60+
'/ru/': {
61+
selectText: 'Languages',
62+
label: 'Русский',
63+
editLinkText: 'Edit this page on GitHub',
64+
serviceWorker: {
65+
updatePopup: {
66+
message: "New content is available.",
67+
buttonText: "Refresh"
68+
}
69+
},
70+
},
71+
'/pt-br/': {
72+
selectText: 'Languages',
73+
label: 'Português do Brasil',
74+
editLinkText: 'Edit this page on GitHub',
75+
serviceWorker: {
76+
updatePopup: {
77+
message: "New content is available.",
78+
buttonText: "Refresh"
79+
}
80+
},
81+
},
82+
'/fr-fr/': {
83+
selectText: 'Languages',
84+
label: 'Français',
85+
editLinkText: 'Edit this page on GitHub',
86+
serviceWorker: {
87+
updatePopup: {
88+
message: "New content is available.",
89+
buttonText: "Refresh"
90+
}
91+
},
92+
}
93+
}
94+
},
95+
locales: {
96+
'/': {
97+
lang: 'en-US',
98+
title: '📈 vue-chartjs',
99+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
100+
},
101+
'/zh-cn/': {
102+
lang: 'zh-CN',
103+
title: '📈 vue-chartjs',
104+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
105+
},
106+
'/id/': {
107+
lang: 'id',
108+
title: '📈 vue-chartjs',
109+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
110+
},
111+
'/ja/': {
112+
lang: 'ja',
113+
title: '📈 vue-chartjs',
114+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
115+
},
116+
'/ru/': {
117+
lang: 'ru',
118+
title: '📈 vue-chartjs',
119+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
120+
},
121+
'/pt-br/': {
122+
lang: 'pt-br',
123+
title: '📈 vue-chartjs',
124+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
125+
},
126+
'/fr-fr/': {
127+
lang: 'fr-fr',
128+
title: '📈 vue-chartjs',
129+
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
130+
}
131+
}
132+
}

docs/.vuepress/dist/404.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>📈 vue-chartjs</title>
7+
<meta name="description" content="⚡ Easy and beautiful charts with Chart.js and Vue.js">
8+
9+
10+
<link rel="preload" href="/assets/css/styles.9e2c2fad.css" as="style"><link rel="preload" href="/assets/js/app.9e2c2fad.js" as="script"><link rel="prefetch" href="/assets/js/10.b27c2bcc.js"><link rel="prefetch" href="/assets/css/1.styles.3ac4ce2d.css"><link rel="prefetch" href="/assets/js/1.3ac4ce2d.js"><link rel="prefetch" href="/assets/css/2.styles.8f5c8e96.css"><link rel="prefetch" href="/assets/js/2.8f5c8e96.js"><link rel="prefetch" href="/assets/js/3.5774cb5b.js"><link rel="prefetch" href="/assets/js/4.06a15e23.js"><link rel="prefetch" href="/assets/js/5.e04e82dd.js"><link rel="prefetch" href="/assets/js/6.b2f4c173.js"><link rel="prefetch" href="/assets/js/7.aed9035e.js"><link rel="prefetch" href="/assets/js/8.d5b39b11.js"><link rel="prefetch" href="/assets/js/9.39acf5c6.js"><link rel="prefetch" href="/assets/js/11.49ff9f4e.js"><link rel="prefetch" href="/assets/js/12.01d63eaa.js"><link rel="prefetch" href="/assets/js/13.ebea3386.js"><link rel="prefetch" href="/assets/js/14.94612b70.js"><link rel="prefetch" href="/assets/js/15.fd4516df.js"><link rel="prefetch" href="/assets/js/16.9ae1da91.js"><link rel="prefetch" href="/assets/js/17.546d6885.js"><link rel="prefetch" href="/assets/js/18.26f4f9eb.js"><link rel="prefetch" href="/assets/js/19.4100c56d.js"><link rel="prefetch" href="/assets/js/20.8a5c8025.js"><link rel="prefetch" href="/assets/js/21.e2afe677.js"><link rel="prefetch" href="/assets/js/22.28a14c49.js"><link rel="prefetch" href="/assets/js/23.e1908054.js">
11+
<link rel="stylesheet" href="/assets/css/1.styles.3ac4ce2d.css"><link rel="stylesheet" href="/assets/css/2.styles.8f5c8e96.css"><link rel="stylesheet" href="/assets/css/styles.9e2c2fad.css">
12+
</head>
13+
<body>
14+
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1> <blockquote>There's nothing here.</blockquote> <a href="/" class="router-link-active">Take me home.</a></div></div></div>
15+
<script src="/assets/js/app.9e2c2fad.js" defer></script>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)