forked from AdobeDocs/app-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
680 lines (678 loc) · 22.9 KB
/
gatsby-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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
module.exports = {
siteMetadata: {
"home": {
"title": "App Builder",
"path": "/app-builder"
},
pages: [
{
"title": "Overview",
"path": "overview"
},
{
"title": "Getting Started",
"path": "getting_started"
},
{
"title": "Guides",
"path": "guides"
},
{
"title": "Resources",
"path": "resources"
}
],
subPages: [
{
"title": "Overview",
"path": "overview"
},
{
"title": "How it works",
"path": "overview/how_it_works.md"
},
{
"title": "How to Get Access",
"path": "overview/getting_access.md"
},
{
"title": "Project Firefly and Adobe I/O Runtime",
"path": "overview/firefly_and_runtime.md"
},
{
"title": "FAQ",
"path": "overview/faq.md"
},
{
"title": "Community",
"path": "overview/community.md"
},
{
"title": "Setting up Your Environment",
"path": "getting_started"
},
{
"title": "Creating your First Firefly App",
"path": "getting_started/first_app.md"
},
{
"title": "Publishing Your First Project Firefly Application",
"path": "getting_started/publish_app.md"
},
{
"title": "Troubleshooting the most common issues",
"path": "getting_started/common_troubleshooting.md"
},
{
"title": "Architecture",
"path": "guides",
"pages": [
{
"title": "Architecture overview",
"path": "guides"
},
{
"title": "Dealing with Application State",
"path": "guides/application_state.md"
},
{
"title": "Introduction to React Spectrum",
"path": "guides/introduction_to_react_spectrum.md"
},
{
"title": "Using Client SDKs for Accessing Adobe APIs",
"path": "guides/using_sdks.md"
},
{
"title": "Managing Application Logs",
"path": "guides/application_logging.md"
},
{
"title": "Event hooks for Project Firefly Applications",
"path": "guides/app-hooks.md"
}
]
},
{
"title": "Security",
"path": "guides/security",
"pages": [
{
"title": "Security overview",
"path": "guides/security/index.md"
},
{
"title": "Understanding Authentication",
"path": "guides/security/understanding_authentication.md"
},
]
},
{
"title": "Deployment",
"path": "guides/deployment",
"pages": [
{
"title": "Deployment overview",
"path": "guides/deployment"
},
{
"title": "CI/CD for Project Firefly Applications",
"path": "guides/deployment/ci_cd_for_firefly_apps.md"
},
]
},
{
"title": "Extensions",
"path": "guides/extensions",
"pages": [
{
"title": "Introduction to Extensions",
"path": "guides/extensions/index.md"
},
{
"title": "Extension Migration Guide",
"path": "guides/extensions/extension_migration_guide.md"
},
]
},
{
"title": "Integration Guide with Adobe Experience Cloud",
"path": "guides/exc_app",
"pages": [
{
"title": "Getting started with Adobe Experience Cloud",
"path": "guides/exc_app/index.md"
},
{
"title": "Modules",
"path": "guides/exc_app/modules",
"pages": [
{
"title": "Index",
"path": "guides/exc_app/modules/index.md"
},
{
"title": "Page",
"path": "guides/exc_app/modules/page.md"
},
{
"title": "Topbar",
"path": "guides/exc_app/modules/topbar.md"
},
{
"title": "User",
"path": "guides/exc_app/modules/user.md"
}
]
},
{
"title": "Interfaces",
"path": "guides/exc_app/interfaces",
"pages": [
{
"title": "Modules",
"path": "guides/exc_app/interfaces/index.md"
},
{
"title": "Runtime",
"path": "guides/exc_app/interfaces/index.runtime.md"
},
{
"title": "Page Object with href",
"path": "guides/exc_app/interfaces/page.objectwithhref.md"
},
{
"title": "Page Object with path",
"path": "guides/exc_app/interfaces/page.objectwithpath.md"
},
{
"title": "Page API",
"path": "guides/exc_app/interfaces/page.pageapi.md"
},
{
"title": "Page API Properties",
"path": "guides/exc_app/interfaces/page.pageapiproperties.md"
},
{
"title": "Topbar callback",
"path": "guides/exc_app/interfaces/topbar.callback.md"
},
{
"title": "Topbar custom feedback config",
"path": "guides/exc_app/interfaces/topbar.customfeedbackconfig.md"
},
{
"title": "Topbar custom search config",
"path": "guides/exc_app/interfaces/topbar.customsearchconfig.md"
},
{
"title": "Topbar external feedback config",
"path": "guides/exc_app/interfaces/topbar.externalfeedbackconfig.md"
},
{
"title": "Topbar help center feedback config",
"path": "guides/exc_app/interfaces/topbar.helpcenterfeedbackconfig.md"
},
{
"title": "Topbar solution",
"path": "guides/exc_app/interfaces/topbar.solution.md"
},
{
"title": "Topbar API",
"path": "guides/exc_app/interfaces/topbar.topbarapi.md"
},
{
"title": "Topbar API properties",
"path": "guides/exc_app/interfaces/topbar.topbarapiproperties.md"
},
{
"title": "User API",
"path": "guides/exc_app/interfaces/user.userapi.md"
},
{
"title": "User Info",
"path": "guides/exc_app/interfaces/user.userinfo.md"
},
]
}
]
},
{
"title": "Integration Guide for building Event-driven Applications with I/O Events",
"path": "guides/events/webhooks.md"
},
{
"title": "Custom Events Overview",
"path": "guides/events/custom-events.md"
},
{
"title": "Reference documentation",
"path": "guides/reference_documentation"
},
{
"title": "Contribution guides",
"path": "guides/contribution_guides"
},
{
"title": "Code Labs",
"path": "resources/index.md",
pages: [
{
title: 'Asset Compute with Photoshop APIs',
path: 'resources/asset-compute-worker-ps-api/index.md',
pages: [{
"title": "Requirements",
"path": "resources/asset-compute-worker-ps-api/requirements"
}, {
"title": "Lesson 1: Create an app from Asset Compute template",
"path": "resources/asset-compute-worker-ps-api/lesson1"
}, {
"title": "Lesson 2: Configure the app",
"path": "resources/asset-compute-worker-ps-api/lesson2",
}, {
"title": "Lesson 3: Develop worker calling Photoshop API",
"path": "resources/asset-compute-worker-ps-api/lesson3"
}, {
"title": "Lesson 4: Integrate worker in AEMaaCS",
"path": "resources/asset-compute-worker-ps-api/lesson4",
}, {
"title": "Well done",
"path": "resources/asset-compute-worker-ps-api/welldone",
}]
},
{
title: 'Events Using Runtime Actions as Webhook',
path: 'resources/events-runtime/index.md',
pages: [{
"title": "Requirements",
"path": "resources/events-runtime/requirements"
}, {
"title": "Lesson 1: Step by Step Guide",
"path": "resources/events-runtime/lesson1"
}, {
"title": "Lesson 2: Verify the result",
"path": "resources/events-runtime/lesson2"
}, {
"title": "Well done",
"path": "resources/events-runtime/welldone"
}]
},
{
title: 'Consume Events Using Journaling API',
path: 'resources/journaling-events/index.md',
pages: [{
"title": "Requirements",
"path": "resources/journaling-events/requirements"
}, {
"title": "Lesson 1: Create an Event Provider using Firefly",
"path": "resources/journaling-events/lesson1"
}, {
"title": "Lesson 2: Create the Event Consumer using Journaling API",
"path": "resources/journaling-events/lesson2"
}, {
"title": "Lesson 3: End to end test",
"path": "resources/journaling-events/lesson3"
}, {
"title": "Well done",
"path": "resources/journaling-events/welldone"
}]
},
{
title: 'Building a Firefly Todo App',
path: 'resources/todo-app/index.md',
pages: [
{
"title": "Requirements",
"path": "resources/todo-app/requirements"
},
{
"title": "Lesson 1: Create a New Firefly App with the React Spectrum template",
"path": "resources/todo-app/lesson1"
},
{
"title": "Lesson 2: Setup Runtime actions",
"path": "resources/todo-app/lesson2"
},
{
"title": "Lesson 3: Setup the CreateTodoList component",
"path": "resources/todo-app/lesson3"
},
{
"title": "Lesson 4: Setup the Todo component",
"path": "resources/todo-app/lesson4"
},
{
"title": "Lesson 5: Setup the TodoList component",
"path": "resources/todo-app/lesson5"
},
{
"title": "Lesson 6: Bringing the pieces together to build the App",
"path": "resources/todo-app/lesson6"
},
{
"title": "Well done",
"path": "resources/todo-app/welldone"
}
]
},
{
title: 'Event-Driven Firefly Apps',
path: 'resources/event-driven/index.md',
pages: [{
"title": "Requirements",
"path": "resources/event-driven/requirements"
}, {
"title": "Lesson 1: Create a New Firefly App from Template",
"path": "resources/event-driven/lesson1"
}, {
"title": "Lesson 2: Register the App as Event Provider",
"path": "resources/event-driven/lesson2"
}, {
"title": "Lesson 3: Fire an Event",
"path": "resources/event-driven/lesson3"
}, {
"title": "Lesson 4: Consume Events",
"path": "resources/event-driven/lesson4"
}, {
"title": "Well Done",
"path": "resources/event-driven/welldone"
}]
},
{
title: 'Scheduling Cron Jobs',
path: 'resources/cron-jobs/index.md',
pages: [{
"title": "Requirements",
"path": "resources/cron-jobs/requirements",
}, {
"title": "Lesson 1: Bootstrap a Headless App",
"path": "resources/cron-jobs/lesson1"
}, {
"title": "Lesson 2: Set up Alarm Feed with Trigger and Rule",
"path": "resources/cron-jobs/lesson2"
}, {
"title": "Lesson 3: Types of Alarm Feed",
"path": "resources/cron-jobs/lesson3"
}, {
"title": "Well done",
"path": "resources/cron-jobs/welldone"
}]
},
{
title: 'Custom Asset Compute Worker',
path: 'resources/custom-asset-compute-worker/index.md',
pages: [{
"title": "Requirements",
"path": "resources/custom-asset-compute-worker/requirements"
}, {
"title": "How AEM as Cloud assets works",
"path": "resources/custom-asset-compute-worker/aem-cloud-assets"
}, {
"title": "Architecture of our worker",
"path": "resources/custom-asset-compute-worker/our-worker"
}, {
"title": "Configure services",
"path": "resources/custom-asset-compute-worker/lesson1"
}, {
"title": "Local environment setup",
"path": "resources/custom-asset-compute-worker/lesson2"
}, {
"title": "Implement the worker",
"path": "resources/custom-asset-compute-worker/lesson3"
}, {
"title": "Test the worker",
"path": "resources/custom-asset-compute-worker/lesson4"
}, {
"title": "Setup AEM to use the worker",
"path": "resources/custom-asset-compute-worker/lesson5"
}, {
"title": "Well Done",
"path": "resources/custom-asset-compute-worker/welldone"
}]
},
{
title: 'CI/CD in Firefly Apps',
path: 'resources/ci-cd/index.md',
pages: [{
"title": "Requirements",
"path": "resources/ci-cd/requirements"
}, {
"title": "Lesson 1: Setup CI/CD",
"path": "resources/ci-cd/lesson1"
}, {
"title": "Lesson 2: Monitoring CI/CD",
"path": "resources/ci-cd/lesson2"
}, {
"title": "Lesson 3: Custom CI/CD workflow",
"path": "resources/ci-cd/lesson3"
}, {
"title": "Well done",
"path": "resources/ci-cd/welldone"
}]
},
{
title: 'Debugging Firefly Apps',
path: 'resources/debugging/index.md',
pages: [{
"title": "Requirements",
"path": "resources/debugging/requirements"
}, {
"title": "Lesson 1: Getting familiar with Debugger",
"path": "resources/debugging/lesson1"
}, {
"title": "Lesson 2: Debugging Application Code",
"path": "resources/debugging/lesson2"
}, {
"title": "Lesson 3: Managing Application Logs",
"path": "resources/debugging/lesson3"
}, {
"title": "Well Done",
"path": "resources/debugging/welldone"
}]
},
{
title: 'Customer Profiles Dashboard',
path: 'resources/customer-dashboard/index.md',
pages: [{
"title": "Requirements",
"path": "resources/customer-dashboard/requirements"
}, {
"title": "Lesson 1: Create a New Firefly App from Campaign Standard Template",
"path": "resources/customer-dashboard/lesson1"
}, {
"title": "Lesson 2: Explore the Firefly App",
"path": "resources/customer-dashboard/lesson2"
}, {
"title": "Lesson 3: Run the Firefly App Locally",
"path": "resources/customer-dashboard/lesson3"
}, {
"title": "Lesson 4: List All Customer Profiles on the UI",
"path": "resources/customer-dashboard/lesson4"
}, {
"title": "Lesson 5: Add Personalized Promotion Emails Triggering",
"path": "resources/customer-dashboard/lesson5"
}, {
"title": "Well Done",
"path": "resources/customer-dashboard/welldone"
}]
},
{
title: 'Firefly Headless App',
path: 'resources/barcode-reader/index.md',
pages: [{
"title": "Requirements",
"path": "resources/barcode-reader/requirements"
}, {
"title": "Lesson 1: Bootstrap a Headless App",
"path": "resources/barcode-reader/bootstrap"
}, {
"title": "Lesson 2: Writing a Serverless Action",
"path": "resources/barcode-reader/barcode"
}, {
"title": "Lesson 3: Unit and E2E Tests",
"path": "resources/barcode-reader/test"
}, {
"title": "Well done",
"path": "resources/barcode-reader/welldone"
}]
},
{
title: 'Spectrum Introduction',
path: 'resources/spectrum-intro/index.md',
pages: [{
"title": "Lesson 1: What is Spectrum ?",
"path": "resources/spectrum-intro/lesson1"
}, {
"title": "Lesson 2: Using Spectrum CSS",
"path": "resources/spectrum-intro/lesson2"
}, {
"title": "Lesson 3: Using React Spectrum",
"path": "resources/spectrum-intro/lesson3"
}, {
"title": "Lesson 4: Using React Spectrum in Project Firefly",
"path": "resources/spectrum-intro/lesson4"
}, {
"title": "Well done",
"path": "resources/spectrum-intro/welldone"
}]
}
]
},
{
"title": "Sample Apps",
"path": "resources/sample_apps/index.md",
pages: [
{
title: 'Live demo: Adobe Stock Image Search',
path: 'resources/sample_apps/demo.md',
},
{
title: 'Code Snippets',
path: 'resources/sample_apps/code_snippets/index.md',
pages: [
{
title: 'Caching HTTP responses',
path: 'resources/sample_apps/code_snippets/index.md',
},
{
title: 'Firefly Files SDK',
path: 'resources/sample_apps/code_snippets/files.md',
},
{
title: 'Firefly State SDK',
path: 'resources/sample_apps/code_snippets/state.md',
},
{
title: 'I/O Events handler',
path: 'resources/sample_apps/code_snippets/events.md',
},
{
title: 'Real-time data from Adobe Analytics API 1.4',
path: 'resources/sample_apps/code_snippets/analytics.md',
}
]
}
]
},
{
"title": "Videos",
"path": "resources/videos/index.md",
pages: [
{
title: 'Introducing Project Firefly',
path: "resources/videos/overview/introduction.md",
},
{
title: 'Getting Started',
path: "resources/videos/overview/getting-started.md",
},
{
title: 'Architecture',
path: "resources/videos/overview/architecture.md",
},
{
title: 'A Full Security Overview',
path: "resources/videos/overview/security.md",
},
{
title: 'User Journey',
path: "resources/videos/overview/e2e-user-journey.md",
},
{
title: 'Projects and Workspaces',
path: "resources/videos/exploring/projects-and-workspaces.md",
},
{
title: 'React Spectrum',
path: "resources/videos/exploring/react-spectrum.md",
},
{
title: 'Custom Events',
path: "resources/videos/exploring/custom-events.md",
},
{
title: 'CI/CD',
path: "resources/videos/exploring/ci-cd.md",
},
{
title: 'Debugging',
path: "resources/videos/exploring/debugging.md",
},
{
title: 'Learning Resources',
path: "resources/videos/exploring/learning-resources.md",
},
{
title: 'Dashboard Case Study',
path: "resources/videos/exploring/dashboard-case-study.md",
},
{
title: 'ODE Case Study',
path: "resources/videos/exploring/ode-case-study.md",
},
{
title: 'Deep Dive Use Cases',
path: "resources/videos/exploring/deep-dive-use-cases.md",
},
{
title: 'Live Wired Sneak',
path: "resources/videos/exploring/live-wired-sneak.md",
},
{
title: 'Softcrylic Partner Showcase',
path: "resources/videos/exploring/softcrylic-showcase.md",
},
{
title: 'Project Firefly Deep Dive',
path: "resources/videos/developers-live/deep-dive.md",
},
{
title: 'Asset Compute Service Extensibility',
path: "resources/videos/developers-live/asset-compute-service-extensibility.md",
},
{
title: 'Extend Adobe Experience Cloud',
path: "resources/videos/developers-live/extend-experience-cloud.md",
}
]
},
{
"title": "Blog Articles",
"path": "resources/blog_articles.md"
}
],
},
plugins: ['@adobe/gatsby-theme-aio'],
pathPrefix: process.env.PATH_PREFIX || '/app-builder/docs/'
};