Repository navigation
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
608 lines (591 loc) · 24.3 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
608 lines (591 loc) · 24.3 KB
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
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const {themes} = require('prism-react-renderer');
// Prism token colors that fall below WCAG 1.4.3's 4.5:1 text contrast on the
// code-block background are replaced with same-hue shades that clear it (light
// values also clear 4.5:1 on highlighted lines). Every other token is untouched.
const withTokenColors = (theme, replacements) => ({
...theme,
styles: theme.styles.map((entry) => {
const color = replacements[entry.style.color];
return color ? {...entry, style: {...entry.style, color}} : entry;
}),
});
const githubWithReadableNamespaces = {
...themes.github,
// `namespace` (Java package names in imports) renders at 70% opacity: 4.48:1.
styles: themes.github.styles.map((entry) => (entry.types.includes('namespace') ? {...entry, style: {...entry.style, opacity: 0.85}} : entry)),
};
const lightTheme = withTokenColors(githubWithReadableNamespaces, {
'#999988': '#65655a', // comment: 2.71 -> 5.54
'#e3116c': '#c50f5e', // string, attr-value: 4.32 -> 5.47
'#36acaa': '#23706e', // number, boolean, property: 2.58 -> 5.46
'#00a4db': '#006c91', // keyword, attr-name: 2.69 -> 5.55
'#d73a49': '#b9323f', // function, tag: 4.30 -> 5.49
});
const darkTheme = withTokenColors(themes.dracula, {
'rgb(98, 114, 164)': '#8995bb', // comment: 3.03 -> 4.80
});
const rehypeTableRegion = require('./src/plugins/rehype-table-region');
const siteUrl = 'https://shafthq.github.io';
const siteAsset = (path) => new URL(path, siteUrl).toString();
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'SHAFT User Guide',
tagline: 'Stop reinventing the wheel. Start using SHAFT.',
url: siteUrl,
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenAnchors: 'throw',
favicon: 'img/shaft.ico',
deploymentBranch: 'gh-pages',
// GitHub Pages deployment config for the canonical public guide URL.
organizationName: 'ShaftHQ', // Usually your GitHub org/user name.
projectName: 'shafthq.github.io', // Usually your repo name.
// SHAFT Organization/Software*/FAQ JSON-LD moved to src/theme/ProductJsonLd.tsx
// (route-conditional via useLocation). Config headTags cannot vary by route —
// see Docusaurus headTags docs + discussion #9075. Keeps W1: exactly one
// ld+json script on non-ChaosEngine routes; CE routes suppress SHAFT Software*.
headTags: [
{
tagName: 'meta',
attributes: {
name: 'keywords',
content: 'test automation framework, selenium test framework, java test automation, web testing, mobile testing, api testing, appium, rest assured, testng, junit, cucumber, page object model, SHAFT engine, open source testing',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:type',
content: 'website',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:site_name',
content: 'SHAFT User Guide',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:image',
content: siteAsset('/img/shaft-social-card.png'),
},
},
{
tagName: 'meta',
attributes: {
property: 'og:image:width',
content: '1200',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:image:height',
content: '630',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:image:alt',
content: 'Write the test. SHAFT does the rest. The SHAFT logo beside a real passing Allure report.',
},
},
{
tagName: 'meta',
attributes: {
name: 'twitter:card',
content: 'summary_large_image',
},
},
],
// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
path: 'i18n',
localeConfigs: {
en: {
label: 'English',
direction: 'ltr',
htmlLang: 'en-US',
calendar: 'gregory',
path: 'en',
},
},
},
// scripts: [
// {
// async: true,
// defer: true,
// src: 'https://buttons.github.io/buttons.js',
// },
// ],
trailingSlash: false,
// Opt in to every Docusaurus v4 future flag now so the guide is ready for the
// v4 upgrade: site storage namespacing, Docusaurus Faster (Rspack/SWC/
// LightningCSS) by default, MDX v1 compat disabled, and CSS cascade layers.
// `future.v4: true` requires the @docusaurus/faster dependency.
future: {
v4: true,
},
markdown: {
mermaid: true,
// v4's `mdx1CompatDisabledByDefault` flag (enabled above via `v4: true`)
// turns MDX v1 compatibility off by default. We keep HTML-comment support
// on because the release blog posts double as GitHub release `bodyFile`s
// (see the "SHAFT_ENGINE Release Body Template" comment in blog/*.md), and
// GitHub release notes are GFM where `<!-- -->` is the correct comment
// syntax — MDX `{/* */}` comments would render as literal text there.
mdx1Compat: {
comments: true,
},
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},
themes: ['@docusaurus/theme-mermaid'],
// Keeps table scroll regions focusable only while they overflow (#1076).
clientModules: [require.resolve('./src/clientModules/tableRegions.js')],
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
...(process.env.GTAG_TRACKING_ID
? {
gtag: {
trackingID: process.env.GTAG_TRACKING_ID,
anonymizeIP: false,
},
}
: {}),
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Wrap every table in a named, keyboard-operable scroll region (#1076).
rehypePlugins: [rehypeTableRegion],
showLastUpdateTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/ShaftHQ/shafthq.github.io/blob/master',
},
blog: {
showReadingTime: true,
rehypePlugins: [rehypeTableRegion],
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/ShaftHQ/shafthq.github.io/blob/master',
},
pages: {
rehypePlugins: [rehypeTableRegion],
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
sitemap: {
changefreq: 'weekly',
priority: 0.5,
// /search is a thin UI shell (issue #1152); also filtered below.
ignorePatterns: ['/search'],
createSitemapItems: async ({defaultCreateSitemapItems, ...params}) => {
const items = await defaultCreateSitemapItems(params);
return items
.filter((item) => !/\/search\/?$/.test(new URL(item.url).pathname))
.map((item) => {
// Boost priority for high-value entry pages.
if (item.url.includes('/docs/start/overview')) {
return {...item, priority: 0.9};
}
if (item.url.includes('/docs/start/') || item.url.includes('/docs/testing/')) {
return {...item, priority: 0.8};
}
if (item.url.match(/\/docs\/reference\/actions\/GUI\/(Browser_Actions|Element_Actions|Element_Identification)/)) {
return {...item, priority: 0.8};
}
if (item.url.includes('/docs/reference/')) {
return {...item, priority: 0.7};
}
if (item.url.includes('/docs/')) {
return {...item, priority: 0.6};
}
return item;
});
},
},
}),
],
],
plugins: [
[
require.resolve('@docusaurus/plugin-client-redirects'),
/** @type {import('@docusaurus/plugin-client-redirects').Options} */
({
// GitHub Pages (the canonical, and since issue #864, only host)
// can't serve server-side 301s, so this plugin emits static
// meta-refresh pages for legacy URLs instead. This list is the
// sole source of truth for redirects (netlify.toml, previously a
// secondary/fallback host's redirect config, was retired in #864).
createRedirects(existingPath) {
const wildcardPrefixMap = {
'/docs/reference/actions/': '/docs/Keywords/',
'/docs/reference/configuration/': '/docs/Basic_Config/',
'/docs/reference/guides/': '/docs/Best_Practices/',
'/docs/reference/properties/': '/docs/Properties/',
'/docs/reference/reporting/': '/docs/Reporting/',
};
const oldPaths = [];
for (const [newPrefix, oldPrefix] of Object.entries(wildcardPrefixMap)) {
if (existingPath.startsWith(newPrefix)) {
oldPaths.push(existingPath.replace(newPrefix, oldPrefix));
}
}
return oldPaths;
},
redirects: [
// Docs IA PR B (issue #842): reference/reporting/reporting.mdx +
// Custom_Report_Messages.md merged into one page at
// docs/reference/reporting.mdx (same /docs/reference/reporting URL,
// so the createRedirects() wildcard below no longer has a
// reference/reporting/* sub-page to auto-generate from). Keep the
// legacy /docs/Reporting/Custom_Report_Messages netlify.toml path
// working explicitly.
{
to: '/docs/reference/reporting',
from: ['/docs/Reporting/Custom_Report_Messages', '/docs/reference/reporting/Custom_Report_Messages'],
},
// Docs IA PR B (issue #842) remaining duplicate-pair resolutions.
// Element Identification: the GUI-set page is canonical (it's in
// the sitemap priority regex); the guides copy's unique content
// (By vs @FindBy, dynamic locators, cross-platform Android/iOS
// locators) was moved into it.
{to: '/docs/reference/actions/GUI/Element_Identification', from: '/docs/reference/guides/Element_Identification'},
// Architecture: features/architecture.md is canonical; the guides
// copy's unique "layers of test automation" / engine-vs-framework
// content was moved into it.
{to: '/docs/features/architecture', from: '/docs/reference/guides/Architecture'},
// Docs IA PR B (issue #842) item 4: stub folds.
// agentic/examples.md's downloadable asset links moved onto
// agentic/pilot.md's own worked-example sections.
{to: '/docs/agentic/pilot', from: '/docs/agentic/examples'},
// features/technology.md and features/partners.md folded into
// features/modules.md as new sections; features/test-automation-pillars
// (the singleton pillars page) is untouched.
{to: '/docs/features/modules', from: ['/docs/features/technology', '/docs/features/partners']},
// integrations/video.md + integrations/sikulix.md merged into one
// "Desktop and video" integrations page.
{to: '/docs/integrations/desktop-and-video', from: ['/docs/integrations/video', '/docs/integrations/sikulix']},
// Renamed config pages.
{to: '/docs/reference/configuration/webConfig', from: '/docs/reference/configuration/basicConfig'},
{to: '/docs/reference/configuration/mobileConfig', from: '/docs/reference/configuration/basicConfig2'},
{to: '/docs/reference/configuration/apiConfig', from: '/docs/reference/configuration/basicConfig3'},
// Retired Getting_Started tree.
{to: '/docs/start/overview', from: ['/docs/Getting_Started/first_steps', '/docs/Getting_Started/support']},
{to: '/docs/start/quick-start', from: ['/docs/Getting_Started/first_steps_2', '/docs/Getting_Started/first_steps_3']},
{to: '/docs/start/installation', from: ['/docs/Getting_Started/first_steps_4', '/docs/Getting_Started/first_steps_5', '/docs/Getting_Started/first_steps_6', '/docs/Getting_Started/shaft_wizard']},
{to: '/docs/testing/web', from: ['/docs/Getting_Started/setup_web', '/docs/Demos/web']},
{to: '/docs/testing/mobile', from: ['/docs/Getting_Started/setup_mobile', '/docs/Getting_Started/flutter_testing', '/docs/Demos/mobile']},
{to: '/docs/testing/api', from: '/docs/Getting_Started/setup_api'},
{to: '/docs/features/modules', from: '/docs/Getting_Started/integrations'},
// NOTE: this client redirect and netlify.toml's server-side 301 both
// point at `/docs/reference/guides/JUnit_Integration` (no "5"),
// matching the page's frontmatter `id` and real route (fixed in
// #847 — netlify.toml previously targeted the stale
// `JUnit5_Integration` slug, a dead 301 on the fallback host). The
// `from` side here is the historical inbound URL and stays as-is.
{to: '/docs/reference/guides/JUnit_Integration', from: '/docs/Getting_Started/JUnit5_Integration'},
// Retired agentic/mcp-manual tombstone (deleted; canonical content
// lives on the main MCP setup page).
{to: '/docs/agentic/mcp', from: '/docs/agentic/mcp/manual'},
// Docs IA PR B (issue #842): Validations 10-pages -> 1 page merge,
// plus GUI/Element_Validations folded into the same page as a
// duplicate-resolution. Section anchors are documented in the
// page itself since meta-refresh redirects can't target a
// fragment reliably.
{
to: '/docs/reference/actions/Validations',
from: [
'/docs/reference/actions/Validations/Overview',
'/docs/reference/actions/Validations/Browser',
'/docs/reference/actions/Validations/Elements',
'/docs/reference/actions/Validations/Files',
'/docs/reference/actions/Validations/Objects',
'/docs/reference/actions/Validations/Nums',
'/docs/reference/actions/Validations/Response',
'/docs/reference/actions/Validations/JSON_Schema_Validation',
'/docs/reference/actions/Validations/ForceFail',
'/docs/reference/actions/Validations/Soft_vs_Hard_Assertions',
'/docs/reference/actions/GUI/Element_Validations',
],
},
// Docs IA PR B (issue #842): didYouKnow 19 pages + the old
// Did_You_Know.md hub -> 3 themed GUI tips pages. Async_Element_Actions
// and Visual_Testing were duplicate pairs, not theme content — they
// redirect to their existing GUI-set/integrations canonical page
// instead. Section anchors are documented on each themed page since
// meta-refresh redirects can't target a fragment reliably.
{
to: '/docs/reference/actions/GUI/Locators_And_Self_Healing',
from: [
'/docs/reference/actions/GUI/Did_You_Know',
'/docs/reference/actions/GUI/didYouKnow/ARIA_Locators',
'/docs/reference/actions/GUI/didYouKnow/Self_Healing_Locators',
'/docs/reference/actions/GUI/didYouKnow/Shadow_Dom_Locator_Builder',
'/docs/reference/actions/GUI/didYouKnow/Shaft_Locator_Builder',
'/docs/reference/actions/GUI/didYouKnow/Smart_Locators',
'/docs/reference/actions/GUI/didYouKnow/iFrame_Handling',
],
},
{
to: '/docs/reference/actions/GUI/Waits_And_Synchronization',
from: [
'/docs/reference/actions/GUI/didYouKnow/Explicit_Waits',
'/docs/reference/actions/GUI/didYouKnow/Clipboard_Actions',
],
},
{
to: '/docs/reference/actions/GUI/Infrastructure_Network_And_Visual',
from: [
'/docs/reference/actions/GUI/didYouKnow/Native_selenium_Webdriver',
'/docs/reference/actions/GUI/didYouKnow/Custom_Capabilities',
'/docs/reference/actions/GUI/didYouKnow/Mobile_Emulation',
'/docs/reference/actions/GUI/didYouKnow/Local_Selenium_Grid_Execution',
'/docs/reference/actions/GUI/didYouKnow/Kubernetes_Selenium_Grid',
'/docs/reference/actions/GUI/didYouKnow/Network_Mocking',
'/docs/reference/actions/GUI/didYouKnow/Using_Cookies_In_Your_Tests',
'/docs/reference/actions/GUI/didYouKnow/Accessibility_Testing',
'/docs/reference/actions/GUI/didYouKnow/Integrate_JIRA_With_SHAFT_Engine',
],
},
// Duplicate resolution (issue #842 item 3): Async Element Actions —
// the didYouKnow copy redirects to the surviving GUI top-level page.
{
to: '/docs/reference/actions/GUI/Async_Element_Actions',
from: '/docs/reference/actions/GUI/didYouKnow/Async_Element_Actions',
},
// Duplicate resolution (issue #842 item 3): Visual Testing — the
// didYouKnow copy's unique matchesScreenshot()/engine content was
// folded into integrations/visual.md, the canonical page.
{
to: '/docs/integrations/visual',
from: '/docs/reference/actions/GUI/didYouKnow/Visual_Testing',
},
// Pre-2026-06-19 release posts consolidated into one history post
// (issue #841).
{
to: '/blog/release-history',
from: [
'/blog/release_announcement_7.1.20230309',
'/blog/release-10.1.20260324',
'/blog/release-10.1.20260331',
'/blog/release-10.2.20260501',
'/blog/release-10.2.20260505',
'/blog/release-10.2.20260506',
'/blog/release-10.2.20260605',
'/blog/release-10.2.20260610',
'/blog/release-10.2.20260612',
'/blog/release-10.2.20260614',
'/blog/release-10.2.20260615',
'/blog/release-10.2.20260617',
'/blog/release-10.2.20260618',
],
},
],
}),
],
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
indexDocs: true,
indexBlog: true,
// Index static pages (homepage, etc.) for broader search coverage.
indexPages: true,
// Exclude only archived docs from search. Maintainer docs stay
// indexed: they are fully public per the #795 product decision
// (PR #800), matching the AutoBot docs-loader. Routes are matched
// without a leading slash (see processDocInfos.js).
ignoreFiles: [/^docs\/archive\//],
language: "en",
// Show more search results for better discoverability.
searchResultLimits: 12,
// Surface the specific heading a match was found in, not just the page.
explicitSearchResultPath: true,
// Keep English stop words indexed, since they are sometimes relevant
// in programming docs (e.g. "wait", "self").
removeDefaultStopWordFilter: true,
// Tolerate simple typos and missing spaces (e.g. "propreties",
// "selfhealing") via lunr's built-in fuzzy matching.
fuzzyMatchingDistance: 1,
},
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// #1128: follow the visitor's OS theme when they have not picked one.
colorMode: {
defaultMode: 'light',
respectPrefersColorScheme: true,
},
metadata: [
{name: 'description', content: 'SHAFT is an open-source Java test automation engine for web, mobile, API, CLI, database, and desktop, built on Selenium, Appium, and REST Assured, with an Allure report on every run.'},
{name: 'robots', content: 'index, follow'},
// Bing Webmaster Tools site verification (public meta; also see static/BingSiteAuth.xml).
{name: 'msvalidate.01', content: 'B2E359CCB779DC0FD19AA7831E0B82BD'},
],
mermaid: {
theme: {
light: 'neutral',
dark: 'neutral',
},
options: {
securityLevel: 'loose',
themeVariables: {
primaryColor: '#006ec0',
primaryTextColor: '#102a31',
primaryBorderColor: '#006ec0',
secondaryColor: '#c8d6e7',
tertiaryColor: '#102a31',
lineColor: '#006ec0',
textColor: '#102a31',
edgeLabelBackground: '#ffffff',
nodeTextColor: '#102a31',
clusterBkg: '#c8d6e7',
clusterBorder: '#006ec0',
},
},
},
styles: [
'/css/custom.css',
],
navbar: {
title: '',
logo: {
alt: 'SHAFT_Engine',
src: 'img/shaft.svg',
width: 32,
height: 32,
},
items: [
// #1128: shown only in the mobile drawer (custom.css), as its first action.
{to: '/project-generator', label: 'Get started', position: 'left', className: 'navbar-get-started'},
{
type: 'doc',
docId: 'journeys/index',
position: 'left',
label: 'Docs',
},
{to: '/docs/features/whats-new', label: 'What\'s new', position: 'left'},
{to: '/blog', label: 'Blog', position: 'left'},
// {
// type:'html',
// position: 'right',
// value: '<a class="navbar__item navbar__link" href="https://shafthq.github.io/SHAFT_ENGINE/" target="_blank"><b>JavaDocs</b></a>',
// },
{
href: 'https://github.com/ShaftHQ/SHAFT_ENGINE',
label: 'Star SHAFT',
position: 'right',
className: 'header-github-link',
target: '_blank',
'aria-label': 'Star SHAFT on GitHub',
},
{
to: 'https://github.com/sponsors/MohabMohie/',
label: 'Sponsor',
position: 'right',
target: '_blank',
className: 'sponsorship-link',
},
{
href: 'https://shafthq.github.io/SHAFT_ENGINE/',
label: 'JavaDocs',
position: 'right',
target: '_blank',
},
],
},
footer: {
style: 'light',
links: [
{
title: 'Docs',
items: [
{
label: 'Start here',
to: '/docs/start/overview',
},
{
label: 'Connect MCP',
to: '/docs/agentic/mcp',
},
],
},
{
title: 'Support',
items: [
{
label: 'Slack',
href: 'https://join.slack.com/t/shaft-engine/shared_invite/zt-oii5i2gg-0ZGnih_Y34NjK7QqDn01Dw',
},
{
label: 'Training',
href: 'https://www.automatest.org',
},
{
label: 'Security policy',
href: 'https://github.com/ShaftHQ/SHAFT_ENGINE/security/policy',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/ShaftHQ/SHAFT_ENGINE',
},
{
label: 'Releases',
href: 'https://github.com/ShaftHQ/SHAFT_ENGINE/releases',
},
{
label: 'llms.txt',
// pathname:// skips the broken-link checker for static files.
href: 'pathname:///llms.txt',
},
],
},
],
logo: {
style: {
height: '96px',
},
alt: 'ShaftHQ Logo',
src: '/img/shaft.svg',
width: 96,
height: 96,
href: 'https://github.com/ShaftHQ',
},
copyright: `Copyright © ${new Date().getFullYear()} ShaftHQ. Built with Docusaurus and GitHub Pages.`,
},
prism: {
theme: lightTheme,
darkTheme: darkTheme,
additionalLanguages: ['java', 'json', 'properties', 'yaml'],
},
}),
};
export default config;