-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsidebars.js
303 lines (301 loc) · 9.95 KB
/
sidebars.js
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
//
// [WORKAROUND] We set a slug to each category to be able to use links despite the labels
// ... the only drawback is Docusaurus won't check for their existence whereas when pointing
// to `.mdx` it will. We did not find a find to create fake category to replicate indexation of items
//
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
docs: [
'presentation/index',
{
type: 'category',
label: 'Préambule',
link: {
type: 'generated-index',
slug: 'preamble',
},
items: ['preamble/validity', 'preamble/expertise', 'preamble/no-stack', 'preamble/glossary'],
},
{
type: 'category',
label: 'Amorce du projet',
link: {
type: 'generated-index',
slug: 'project-start',
},
items: [
'project-start/time-and-costs',
'project-start/is-your-project-new',
'project-start/meet-the-need',
'project-start/investigation',
'project-start/budget-needed',
],
},
{
type: 'category',
label: 'Prototypage',
link: {
type: 'generated-index',
slug: 'prototyping',
},
items: ['prototyping/team-skills', 'prototyping/scope', 'prototyping/modeling', 'prototyping/technical-prototype-or-not'],
},
{
type: 'category',
label: 'Développement du produit',
link: {
type: 'generated-index',
slug: 'development',
},
items: [
'development/avoid-overengineering-and-marketing',
'development/minimum-viable-product',
'development/no-code-low-code',
'development/start',
'development/team-is-key',
],
},
{
type: 'category',
label: 'Documenter votre projet',
link: {
type: 'generated-index',
slug: 'document',
description: `Au même titre que les spécifications, les aspects techniques doivent être décrits et historisés. Cela facilite l'embarquement de nouvelles recrues, et cela vous sauvera quand dans 1 an vous vous direz "mince, c'est organisé comment ? Et pourquoi ?".`,
},
items: ['document/code', 'document/macro', 'document/database-schema', 'document/commit-naming'],
},
{
type: 'category',
label: 'Communauté & open source',
link: {
type: 'generated-index',
slug: 'community-and-open-source',
},
items: [
'community-and-open-source/internet-base',
'community-and-open-source/opening-source-constraints',
'community-and-open-source/code-hosting-platforms',
'community-and-open-source/dependencies',
'community-and-open-source/promote-your-work',
'community-and-open-source/english-or-french',
'community-and-open-source/peer-programming',
],
},
{
type: 'category',
label: 'Souveraineté du projet',
link: {
type: 'generated-index',
slug: 'sovereignty',
},
items: ['sovereignty/national-issue', 'sovereignty/portability'],
},
{
type: 'category',
label: `Utiliser la charte graphique de l'État`,
link: {
type: 'generated-index',
slug: 'state-identity',
},
items: ['state-identity/dsfr', 'state-identity/implementations', 'state-identity/usage-constraints', 'state-identity/get-help'],
},
{
type: 'category',
label: 'Recommandations techniques argumentées',
link: {
type: 'generated-index',
slug: 'technical-recommandations',
description: `Les recommandations qui vont suivre permettent selon nous d'allier robustesse et efficacité lors du développement logiciel pour un produit numérique.`,
},
items: [
{
type: 'category',
label: 'Rapprocher le frontend du backend',
link: {
type: 'generated-index',
slug: 'frontend-backend-close',
},
items: ['frontend-backend-close/same-language', 'frontend-backend-close/monorepository', 'frontend-backend-close/unique-frontend'],
},
{
type: 'category',
label: 'Un langage typé',
link: {
type: 'generated-index',
slug: 'typed-language',
},
items: ['typed-language/no-more-stupid-bugs', 'typed-language/avoid-extra-documentation', 'typed-language/typescript-not-compiled'],
},
{
type: 'category',
label: 'Une même stratégie : un framework web',
link: {
type: 'generated-index',
slug: 'web-framework-strategy',
},
items: ['web-framework-strategy/components', 'web-framework-strategy/react', 'web-framework-strategy/native-application-compatibility'],
},
{
type: 'category',
label: 'Toujours utiliser un module i18n',
link: {
type: 'generated-index',
slug: 'i18n-recommended',
},
items: ['i18n-recommended/even-if-monolingual', 'i18n-recommended/i18next'],
},
'backend-framework/index',
{
type: 'category',
label: 'Communications client-serveur',
link: {
type: 'generated-index',
slug: 'client-server-communication',
},
items: [
'client-server-communication/reduce-intermediaries',
'client-server-communication/trpc',
'client-server-communication/allow-evolutivity',
'client-server-communication/input-validation',
'client-server-communication/prefer-api-to-frontend-caching',
'client-server-communication/reactivity-with-traditional-api',
],
},
{
type: 'category',
label: 'Une base de données qui fait tout (vraiment)',
link: {
type: 'generated-index',
slug: 'database-for-everything',
},
items: [
'database-for-everything/relational-databases',
'database-for-everything/orm',
'database-for-everything/postgresql-rather-than-mysql',
'database-for-everything/dream-of-unique-storage',
'database-for-everything/file-storage',
'database-for-everything/jobs',
'database-for-everything/cache',
'database-for-everything/search-engine',
'database-for-everything/maintenance',
'database-for-everything/portability-checks',
],
},
{
type: 'category',
label: 'Un hébergeur simple et souverain',
link: {
type: 'generated-index',
slug: 'simple-and-sovereign-cloud-provider',
},
items: [
'simple-and-sovereign-cloud-provider/what-is-simple',
'simple-and-sovereign-cloud-provider/sensitive-data',
'simple-and-sovereign-cloud-provider/providers',
'simple-and-sovereign-cloud-provider/offload-non-sensitive-tools',
],
},
'user-authentication/index',
'continuous-integration-and-continuous-deployment/index',
'environments/index',
'tests-and-the-mock-limit/index',
'error-handling/index',
{
type: 'category',
label: 'Backups',
link: {
type: 'generated-index',
slug: 'backups',
},
items: ['backups/source-code', 'backups/3-2-1-strategy', 'backups/incident-plan'],
},
'design-patterns/index',
],
},
{
type: 'category',
label: 'Sécurité primaire',
link: {
type: 'generated-index',
slug: 'security',
},
items: [
'security/raise-awareness',
'security/enable-ssl',
'security/password-strength',
'security/password-manager',
'security/two-factor-authentication',
'security/manage-access-and-monitor',
'security/officer',
'security/cve-monitoring',
'security/data-leak-actions',
'security/security-audits',
'security/http-headers',
'security/secure-hosted-files-urls',
'security/avoid-infected-files',
],
},
{
type: 'category',
label: 'Faire connaître son produit',
link: {
type: 'generated-index',
slug: 'growth',
},
items: ['growth/seo', 'growth/open-graph'],
},
{
type: 'category',
label: 'Faire la vigie en étant outillé',
link: {
type: 'generated-index',
slug: 'monitoring',
description: `Pour maintenir un service de qualité dans la bonne direction il faut avoir des capteurs qui vous signalent quand quelque chose se passe mal. Mais rappelez-vous de ne pas fournir d'informations sensibles à ces outils.`,
},
items: ['monitoring/anonymizing-from-start', 'monitoring/for-technical-needs', 'monitoring/for-business-needs'],
},
'accessibility-is-mandatory/index',
{
type: 'category',
label: `L'écriture inclusive`,
link: {
type: 'generated-index',
slug: 'inclusive-writing',
},
items: ['inclusive-writing/falc', 'inclusive-writing/gender-inclusion'],
},
{
type: 'category',
label: 'Le légal',
link: {
type: 'generated-index',
slug: 'legal',
},
items: [
'legal/license',
'legal/dependencies-also-have-licenses',
'legal/data-protection',
'legal/data-lifecycle',
'legal/required-documents',
'legal/secure-the-product-brand',
],
},
{
type: 'category',
label: 'Aller plus loin',
link: {
type: 'generated-index',
slug: 'go-further',
},
items: [
'go-further/identify-service-providers',
'go-further/multiple-products-stategy',
'go-further/contribute-this-knowledge-base',
'go-further/decline-this-knowledge-base',
'go-further/work-in-progress',
],
},
],
};
module.exports = sidebars;