-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgridsome.config.js
336 lines (327 loc) · 9.92 KB
/
gridsome.config.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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
siteName: 'msaez',
icon: {
favicon: './src/img/favicon.png',
touchicon: './src/img/favicon.png',
},
siteUrl: (process.env.SITE_URL ? process.env.SITE_URL : 'https://example.com'),
settings: {
web: process.env.URL_WEB || false,
twitter: process.env.URL_TWITTER || false,
github: process.env.URL_GITHUB || false,
nav: {
links: [
{ path: '/started/', title: 'Docs' }
]
},
sidebar: [
{
name: 'started',
sections: [
{
firstTitle: '소개',
firstItem: '/started/',
name: [
{
secondTitle: '퀵스타트',
secondItem: '/tool/google-drive-examples/',
}
]
},
{
firstTitle: '비즈니스 모델링 및 구현',
name:[
{
secondTitle: '이벤트스토밍',
secondItem: '/business/'
},
{
secondTitle: '모델 기반 코드 자동 생성',
secondItem: '/tool/model-driven/'
},
{
secondTitle: '마켓플레이스',
secondItem: '/tool/marketplace/'
},
{
secondTitle: '테스트 자동화',
secondItem: '/custom-template/unit-test/'
},
{
secondTitle: '이벤트 모니터링',
secondItem: '/tool/event-monitoring/'
},
]
},
{
firstTitle: 'AI 지원 모델링 및 구현',
name:[
{
secondTitle: 'AI 기반 모델 생성',
secondItem: '/tool/chat-gpt/'
},
{
secondTitle: 'AI 기반 코드 구현',
secondItem: '/tool/si-gpt/'
},
{
secondTitle: 'BC & 도메인 설계 AI',
secondItem: '/tool/bc-domain-gen/'
},
{
secondTitle: 'PL/SQL to Java',
secondItem: '/tool/plsql-2-java/'
},
]
},
{
firstTitle: '코드 구현 실습',
name:[
{
secondTitle: '마이크로서비스 실행',
secondItem: '/development/cna-start/'
},
{
secondTitle: 'API Gateway',
secondItem: '/development/gateway/'
},
{
secondTitle: 'Req/Res방식 연계',
secondItem: '/development/monolith-2-misvc/'
},
{
secondTitle: 'Pub/Sub방식 연계',
secondItem: '/development/pub-sub/'
},
{
secondTitle: 'Orchestration Saga',
secondItem: '/development/choreography-saga/'
},
{
secondTitle: 'JWT Token 인증',
secondItem: '/development/oauth2with-keycloak/'
},
{
secondTitle: 'CQRS 데이터프로젝션',
secondItem: '/development/dp-cqrs/'
},
]
},
{
firstTitle: '배포 모델링 실습',
name:[
{
secondTitle: 'K8s 배포 모델링',
secondItem: '/tool/k8s-modeling'
},
{
secondTitle: '기본 배포 다이어그래밍',
secondItem: '/operation/ops-deploy-diagramming-basic-objects/'
},
{
secondTitle: 'Ingress Gateway',
secondItem: '/operation/ops-deploy-diagramming-advanced-ingress/'
},
{
secondTitle: '서비스 자동확장(HPA)',
secondItem: '/operation/ops-deploy-diagramming-advanced-hpa/'
},
{
secondTitle: '퍼시스턴스 볼륨(PV)',
secondItem: '/operation/ops-deploy-diagramming-advanced-pvc/'
},
{
secondTitle: 'Istio - Service Mesh',
secondItem: '/operation/ops-deploy-diagramming-advanced-istio/'
},
]
},
{
firstTitle: '커스텀 템플릿',
name:[
{
secondTitle: '커스텀 템플릿 생성',
secondItem: '/custom-template/template-editor-custom-template/'
},
{
secondTitle: '템플릿 파일 구조',
secondItem: '/custom-template/template-structure/'
},
{
secondTitle: '반복문&조건문',
secondItem: '/custom-template/loop-conditional-statement/'
},
{
secondTitle: 'Helper',
secondItem: '/custom-template/helper/'
},
{
secondTitle: 'Global Helper',
secondItem: '/custom-template/global-helper/'
},
// {
// secondTitle: 'Template Editor',
// secondItem: '/custom-template/template-editor/'
// }
]
},
// {
// firstTitle: '토핑',
// name:[
// {
// secondTitle: 'Unit-Test',
// secondItem: '/toppings/test-unit/'
// },
// {
// secondTitle: 'API Mocking',
// secondItem: '/toppings/test-microcks/'
// },
// {
// secondTitle: 'Contract Test - 동기 호출',
// secondItem: '/toppings/test-contract/'
// },
// {
// secondTitle: 'Contract Test - 비동기 호출',
// secondItem: '/toppings/test-messaging/'
// },
// {
// secondTitle: 'CI - Github Action',
// secondItem: '/toppings/cicd-git-action/'
// },
// {
// secondTitle: 'CD - Argo',
// secondItem: '/toppings/cicd-argo/'
// },
// {
// secondTitle: 'Kubernetes',
// secondItem: '/toppings/k8s-kubernetes/'
// },
// ]
// },
// {
// firstTitle: '테스트',
// name:[
// {
// secondTitle: 'Unit 테스트',
// secondItem: '/custom-template/unit-test/'
// },
// {
// secondTitle: 'API 서비스 테스트',
// secondItem: '/custom-template/mock-server/'
// }
// ]
// },
{
firstTitle: '예제 시나리오',
name:[
{
secondTitle: '숙소 예약',
secondItem: '/example-scenario/accommodation-reservation/'
},
{
secondTitle: '음식 배달',
secondItem: '/example-scenario/food-delivery/'
},
{
secondTitle: '도서관 시스템',
secondItem: '/example-scenario/library-system/'
},
{
secondTitle: '동물병원 진료 시스템',
secondItem: '/example-scenario/animal-hospital/'
},
{
secondTitle: '인터넷 강의수강 시스템',
secondItem: '/example-scenario/online-lecture/'
},
]
},
{
firstTitle: '사업 정보',
name:[
{
secondTitle: '기업 사례',
secondItem: '/info/company/'
},
{
secondTitle: '가격 정책',
secondItem: '/info/pricing/'
},
{
secondTitle: '파트너십',
secondItem: '/info/partnership/'
},
{
secondTitle: '컨설팅',
secondItem: '/info/consulting/'
}
]
},
{
firstTitle: 'Support',
name:[
// {
// secondTitle: 'FAQ',
// thirdItems:
// [
// ]
// },
{
secondTitle: 'Q&A',
secondLink:'https://github.com/msa-ez/platform/issues',
},
{
secondTitle: 'Contact',
secondItem: '/contact/question/',
}
]
},
]
}
]
},
plugins: [
{
use: '@gridsome/source-filesystem',
options: {
baseDir: './content',
path: '**/*.md',
typeName: 'MarkdownPage',
remark: {
externalLinksTarget: '_blank',
externalLinksRel: ['noopener', 'noreferrer'],
plugins: [
'@gridsome/remark-prismjs'
]
}
}
},
{
use: 'gridsome-plugin-tailwindcss',
options: {
tailwindConfig: './tailwind.config.js',
purgeConfig: {
// Prevent purging of prism classes.
whitelistPatternsChildren: [
/token$/
]
}
}
},
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-153107610-3'
}
},
{
use: '@gridsome/plugin-sitemap',
options: {
}
}
],
}