summaryrefslogtreecommitdiffstats
path: root/documentation/.vuepress/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/.vuepress/config.js')
-rw-r--r--documentation/.vuepress/config.js83
1 files changed, 63 insertions, 20 deletions
diff --git a/documentation/.vuepress/config.js b/documentation/.vuepress/config.js
index 0a8f1b3..5a76b61 100644
--- a/documentation/.vuepress/config.js
+++ b/documentation/.vuepress/config.js
@@ -3,25 +3,68 @@ module.exports = {
description: 'Boot Auswahl Server',
themeConfig: {
logo: '/img/logo-light.svg',
- nav: [
- { text: 'Home', link: '/' },
- { text: 'Installation', link: '/installation/' },
- { text: 'API', link: '/api/' },
- { text: 'Webapp', link: '/webapp/' }
- ],
- sidebar: {
- '/installation/': [
- ''
- ],
- '/api/': [
- '',
- 'collections'
- ],
- '/webapp/': [
- '',
- 'modules'
- ]
- },
- sidebarDepth: 1
+ sidebarDepth: 1,
+ locales: {
+ '/': {
+ selectText: 'Languages',
+ label: 'English',
+ nav: [
+ { text: 'Home', link: '/' },
+ { text: 'Webapp', link: '/webapp/' },
+ { text: 'API', link: '/api/' },
+ { text: 'Installation', link: '/installation/' }
+ ],
+ sidebar: {
+ '/webapp/': [
+ '',
+ 'modules'
+ ],
+ '/api/': [
+ '',
+ 'collections'
+ ],
+ '/installation/': [
+ ''
+ ]
+ },
+ },
+ '/de/': {
+ selectText: 'Sprachen',
+ label: 'Deutsch',
+ nav: [
+ { text: 'Startseite', link: '/de/' },
+ { text: 'Webapp', link: '/de/webapp/' },
+ { text: 'API', link: '/de/api/' },
+ { text: 'Installation', link: '/de/installation/' }
+ ],
+ sidebar: {
+ '/de/webapp/': [
+ '',
+ 'modules'
+ ],
+ '/de/api/': [
+ '',
+ 'collections'
+ ],
+ '/de/installation/': [
+ ''
+ ]
+ },
+ }
+ }
},
+ locales: {
+ // The key is the path for the locale to be nested under.
+ // As a special case, the default locale can use '/' as its path.
+ '/': {
+ lang: 'en-US', // this will be set as the lang attribute on <html>
+ title: 'BAS Documentation',
+ description: 'Boot Auswahl Server'
+ },
+ '/de/': {
+ lang: 'de-DE',
+ title: 'BAS Dokumentation',
+ description: 'Boot Auswahl Server '
+ }
+ }
} \ No newline at end of file