|
1 | | -import { defaultTheme } from '@vuepress/theme-default' |
2 | | -import { defineUserConfig } from 'vuepress/cli' |
3 | | -import { viteBundler } from '@vuepress/bundler-vite' |
| 1 | +import {defaultTheme} from '@vuepress/theme-default' |
| 2 | +import {defineUserConfig} from 'vuepress/cli' |
| 3 | +import {viteBundler} from '@vuepress/bundler-vite' |
4 | 4 |
|
5 | 5 | export default defineUserConfig({ |
6 | | - lang: 'fr-FR', |
7 | | - base: '/sesame-doc', |
8 | | - title: 'Sesame', |
9 | | - description: "Sesame gestionnaire d'identités", |
10 | | - plugins: [ |
11 | | - 'vuepress-plugin-mermaidjs' |
12 | | - ], |
13 | | - theme: defaultTheme({ |
14 | | - // sidebar object |
15 | | - // pages under different sub paths will use different sidebar |
16 | | - sidebar: { |
| 6 | + lang: 'fr-FR', |
| 7 | + base: '/sesame-doc', |
| 8 | + title: 'Sesame', |
| 9 | + description: "Sesame gestionnaire d'identités", |
| 10 | + plugins: [ |
| 11 | + 'vuepress-plugin-mermaidjs' |
| 12 | + ], |
| 13 | + theme: defaultTheme({ |
| 14 | + // sidebar object |
| 15 | + // pages under different sub paths will use different sidebar |
| 16 | + sidebar: { |
17 | 17 |
|
18 | | - '/': [ |
19 | | - { |
20 | | - text: "Introduction", |
21 | | - link: "/" |
22 | | - }, |
23 | | - { |
24 | | - text: 'Installation', |
25 | | - // prefix will be prepended to relative paths |
26 | | - prefix: "/installation/", |
27 | | - children: [ |
28 | | - 'installation-server', |
29 | | - 'installation-daemon', |
30 | | - 'installation-taiga', |
31 | | - 'gestion-mdp', |
32 | | - 'architecture-de-securite', |
33 | | - 'reverse-proxy-orchestrator' |
34 | | - ], |
35 | | - },{ |
36 | | - text: 'Configuration', |
37 | | - prefix: '/configuration', |
38 | | - children: [ |
39 | | - 'architecture', |
40 | | - 'data', |
41 | | - 'validation', |
42 | | - 'formulaire', |
43 | | - 'config-gestion-mdp', |
44 | | - 'mail-templates', |
45 | | - 'personalisation_tuiles', |
46 | | - 'cyclevie', |
47 | | - 'cron' |
48 | | - ] |
49 | | - }, |
50 | | - { |
51 | | - text: 'Importation', |
52 | | - prefix: '/import', |
53 | | - children: [ |
54 | | - 'configuration', |
55 | | - 'configyml', |
56 | | - 'importtaiga' |
57 | | - ] |
58 | | - }, |
59 | | - { |
60 | | - text: 'Backends', |
61 | | - prefix: '/backends', |
62 | | - children: [ |
63 | | - 'backends', |
64 | | - 'librairie_python', |
65 | | - 'backend_AD', |
66 | | - 'backend_LDAP', |
67 | | - 'backend_sambaAD' |
68 | | - ] |
69 | | - }, |
70 | | - { |
71 | | - text: "Utilisation de l'API", |
72 | | - prefix: '/Api', |
73 | | - children: [ |
74 | | - 'filtres', |
75 | | - 'photo', |
76 | | - 'exempleapi' |
77 | | - ] |
78 | | - }, |
79 | | - { |
80 | | - text: "Personalisation de l'UI", |
81 | | - prefix: '/Ui', |
82 | | - children: [ |
83 | | - 'personalisation_tuiles', |
84 | | - ] |
85 | | - }, |
86 | | - { |
87 | | - text: 'Pages UI', |
88 | | - prefix: '/pages/', |
89 | | - children: [ |
90 | | - 'index', |
91 | | - 'login', |
92 | | - 'sentry-example-page', |
93 | | - 'settings', |
94 | | - 'settings/health', |
95 | | - 'settings/keyrings', |
96 | | - 'settings/cron', |
97 | | - 'settings/smtp', |
98 | | - 'settings/mail-templates', |
99 | | - 'settings/sms', |
100 | | - 'settings/password-policy', |
101 | | - 'settings/roles', |
102 | | - 'settings/agents', |
103 | | - 'identities', |
104 | | - 'identities/table', |
105 | | - 'identities/trash', |
106 | | - 'identities/outdated', |
107 | | - 'identities/export', |
108 | | - 'identities/fusion', |
109 | | - 'lifecycles/table', |
110 | | - 'jobs/table', |
111 | | - 'jobs/details', |
112 | | - 'audits/table', |
113 | | - ] |
114 | | - }, |
115 | | - { |
116 | | - text: 'Upgrades', |
117 | | - prefix: '/upgrades', |
118 | | - children: [ |
119 | | - 'alpha-to-v2' |
120 | | - ] |
121 | | - }, |
| 18 | + '/': [ |
| 19 | + { |
| 20 | + text: "Introduction", |
| 21 | + link: "/" |
| 22 | + }, |
| 23 | + { |
| 24 | + text: 'Installation', |
| 25 | + // prefix will be prepended to relative paths |
| 26 | + prefix: "/installation/", |
| 27 | + children: [ |
| 28 | + 'installation-server', |
| 29 | + 'installation-daemon', |
| 30 | + 'installation-taiga', |
| 31 | + 'gestion-mdp', |
| 32 | + 'architecture-de-securite', |
| 33 | + 'reverse-proxy-orchestrator' |
| 34 | + ], |
| 35 | + }, { |
| 36 | + text: 'Configuration', |
| 37 | + prefix: '/configuration', |
| 38 | + children: [ |
| 39 | + 'architecture', |
| 40 | + 'data', |
| 41 | + 'validation', |
| 42 | + 'formulaire', |
| 43 | + 'config-gestion-mdp', |
| 44 | + 'mail-templates', |
| 45 | + 'personalisation_tuiles', |
| 46 | + 'cyclevie', |
| 47 | + 'cron' |
| 48 | + ] |
| 49 | + }, |
| 50 | + { |
| 51 | + text: 'Importation', |
| 52 | + prefix: '/import', |
| 53 | + children: [ |
| 54 | + 'configuration', |
| 55 | + 'configyml', |
| 56 | + 'importtaiga' |
| 57 | + ] |
| 58 | + }, |
| 59 | + { |
| 60 | + text: 'Backends', |
| 61 | + prefix: '/backends', |
| 62 | + children: [ |
| 63 | + 'backends', |
| 64 | + 'librairie_python', |
| 65 | + 'backend_AD', |
| 66 | + 'backend_LDAP', |
| 67 | + 'backend_sambaAD' |
| 68 | + ] |
| 69 | + }, |
| 70 | + { |
| 71 | + text: "Utilisation de l'API", |
| 72 | + prefix: '/Api', |
| 73 | + children: [ |
| 74 | + 'filtres', |
| 75 | + 'photo', |
| 76 | + 'exempleapi' |
| 77 | + ] |
| 78 | + }, |
| 79 | + { |
| 80 | + text: 'Pages UI', |
| 81 | + prefix: '/pages/', |
| 82 | + children: [ |
| 83 | + 'index', |
| 84 | + 'login', |
| 85 | + 'sentry-example-page', |
| 86 | + 'settings', |
| 87 | + 'settings/health', |
| 88 | + 'settings/keyrings', |
| 89 | + 'settings/cron', |
| 90 | + 'settings/smtp', |
| 91 | + 'settings/mail-templates', |
| 92 | + 'settings/sms', |
| 93 | + 'settings/password-policy', |
| 94 | + 'settings/roles', |
| 95 | + 'settings/agents', |
| 96 | + 'identities', |
| 97 | + 'identities/table', |
| 98 | + 'identities/trash', |
| 99 | + 'identities/outdated', |
| 100 | + 'identities/export', |
| 101 | + 'identities/fusion', |
| 102 | + 'lifecycles/table', |
| 103 | + 'jobs/table', |
| 104 | + 'jobs/details', |
| 105 | + 'audits/table', |
| 106 | + ] |
| 107 | + }, |
| 108 | + { |
| 109 | + text: 'Upgrades', |
| 110 | + prefix: '/upgrades', |
| 111 | + children: [ |
| 112 | + 'alpha-to-v2' |
| 113 | + ] |
| 114 | + }, |
| 115 | + { |
| 116 | + text: 'Notes de release', |
| 117 | + prefix: '/release_notes/', |
| 118 | + children: [ |
| 119 | + 'release-2-3-13' |
| 120 | + ] |
| 121 | + }, |
122 | 122 |
|
123 | | - ], |
124 | | - }, |
125 | | - }), |
126 | | - bundler: viteBundler(), |
| 123 | + ], |
| 124 | + }, |
| 125 | + }), |
| 126 | + bundler: viteBundler(), |
127 | 127 | }) |
0 commit comments