Skip to content

Commit 54d85da

Browse files
committed
Add Russian docs to the config array
1 parent 6d19370 commit 54d85da

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ const langs = [
33
{title: 'Deutsch', path: '/de/', matchPath: /^\/de/},
44
{title: '日本語', path: '/ja/', matchPath: /^\/ja/},
55
{title: 'Português do Brasil', path: '/pt-br/', matchPath: /^\/pt-br/},
6-
{title: '中文(简体)', path: '/zh-cn/', matchPath: /^\/zh-cn/}
6+
{title: '中文(简体)', path: '/zh-cn/', matchPath: /^\/zh-cn/},
7+
{title: 'Русский', path: '/ru/', matchPath: /^\/ru/}
78
]
89

910
docute.init({
@@ -38,7 +39,7 @@ docute.init({
3839
apiKey: 'b3544f7387612693644777553675d56a',
3940
indexName: 'vue-chartjs',
4041
// algolia docsearch allows you to search with tag filter
41-
tags: ['en', 'de', 'ja', 'pt-br'],
42+
tags: ['en', 'de', 'ja', 'pt-br', 'ru'],
4243
// this plugin does require a url too
4344
// where docsearch fetches contents
4445
url: 'https://vue-chartjs.org'

docs/ru/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
search: ru
3+
---
4+
15
<div align="center">
26
<img width="256" heigth="256" src="../../assets/vue-chartjs.png" alt="vue-chartjs logo">
37
</div>

0 commit comments

Comments
 (0)