Skip to content

Commit 7c43fe7

Browse files
authored
docs: respect scripts and customFields from shared config (#421)
1 parent 483fc43 commit 7c43fe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module.exports = {
3131
organizationName: 'apify',
3232
projectName: 'apify-sdk-js',
3333
favicon: 'img/favicon.svg',
34+
scripts: [...(config.scripts ?? [])],
3435
onBrokenLinks:
3536
/** @type {import('@docusaurus/types').ReportingSeverity} */ ('throw'),
3637
onBrokenMarkdownLinks:
@@ -144,4 +145,7 @@ module.exports = {
144145
],
145146
themeConfig: { ...config.themeConfig, versions },
146147
staticDirectories: ['node_modules/@apify/docs-theme/static', 'static'],
148+
customFields: {
149+
...(config.customFields ?? []),
150+
},
147151
};

0 commit comments

Comments
 (0)