summaryrefslogtreecommitdiffstats
path: root/documentation/.vuepress/config.js
blob: 8830724838ce18c9d662fac00289272870fbd076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
module.exports = {
    base: '/documentation/',
    dest: '../server/public_documentation',
    title: 'BAS Documentation',
    description: 'Boot Auswahl Server',
    themeConfig: {
        logo: '/img/logo-light.svg',
        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/': [
                        '',
                        'faq',
                        '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/': [
                        '',
                        'faq',
                        '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 '
    }
  }
}