Skip to content

Commit 3339b99

Browse files
committed
Adds configuration files for pt-BR
1 parent a310bca commit 3339b99

File tree

3 files changed

+79
-1
lines changed

3 files changed

+79
-1
lines changed

docs/.vuepress/config.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ module.exports = {
2222
lang: 'fr-FR',
2323
title: 'Léon Docs',
2424
description: 'Documentation de Léon - Documentation principale de votre assistant personnel open source Léon.'
25+
},
26+
'/pt-BR/': {
27+
lang: 'pt-BR',
28+
title: 'Leon Docs',
29+
description: 'Documentação do Leon - Documentação principal do seu assistente pessoal open-source Leon.'
2530
}
2631
},
2732
themeConfig: {
@@ -32,7 +37,8 @@ module.exports = {
3237
editLinks: true,
3338
locales: {
3439
'/': require('./config.en-US'),
35-
'/fr-FR/': require('./config.fr-FR')
40+
'/fr-FR/': require('./config.fr-FR'),
41+
'/pt-BR/': require('./config.pt-BR')
3642
}
3743
},
3844
plugins: {

docs/.vuepress/config.pt-BR.js

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
module.exports = {
3+
selectText: 'Idiomas',
4+
label: 'Português (BR)',
5+
editLinkText: 'Edite esta página no GitHub',
6+
nav: require('./nav/nav.pt-BR.js'),
7+
sidebar: {
8+
'/pt-BR/how-to/': [
9+
{
10+
title: 'Manual',
11+
collapsable: false,
12+
children: [
13+
''
14+
]
15+
}
16+
],
17+
'/pt-BR/': [
18+
{
19+
title: 'Guia',
20+
collapsable: false,
21+
children: [
22+
'',
23+
'glossary',
24+
'architecture',
25+
'configuration',
26+
'offline',
27+
'bridges',
28+
'clients',
29+
'packages-modules',
30+
'collaborative-logger',
31+
'scripts',
32+
'tests'
33+
]
34+
}
35+
]
36+
}
37+
};

docs/.vuepress/nav/nav.pt-BR.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
module.exports = [
2+
{
3+
text: 'Guia',
4+
link: '/pt-BR/'
5+
},
6+
{
7+
text: 'Manual',
8+
link: '/pt-BR/how-to/'
9+
},
10+
{
11+
text: 'Links',
12+
items: [
13+
{ text: 'Website', link: 'https://getleon.ai' },
14+
{ text: 'Fique Ligado', items: [
15+
{ text: 'Blog', link: 'https://blog.getleon.ai' },
16+
{ text: 'Roadmap', link: 'https://roadmap.getleon.ai' },
17+
{ text: 'Changelog', link: 'https://changelog.getleon.ai' },
18+
{ text: '#LeonAI', link: 'https://twitter.com/hashtag/LeonAI' }
19+
]
20+
},
21+
{ text: 'Contribuindo', items: [
22+
{ text: 'Contribua', link: 'https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md' }
23+
]
24+
},
25+
{ text: 'Ajuda', items: [
26+
{ text: 'Issues', link: 'https://github.com/leon-ai/leon/issues' }
27+
]
28+
}
29+
],
30+
},
31+
{
32+
text: 'Faça uma Doação',
33+
link: 'https://donate.getleon.ai'
34+
}
35+
];

0 commit comments

Comments
 (0)