Skip to content

Commit 2d54d07

Browse files
authored
docs: respect scripts and customFields from shared config
1 parent 3a3f8f1 commit 2d54d07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ module.exports = {
3636
projectName: 'apify-sdk-python',
3737
scripts: ['/js/custom.js'],
3838
favicon: 'img/favicon.ico',
39+
scripts: [
40+
...config.scripts ?? [],
41+
],
3942
githubHost: 'github.com',
4043
future: {
4144
experimental_faster: {
@@ -270,4 +273,7 @@ module.exports = {
270273
image: 'https://docs.apify.com/sdk/python/img/docs-og.png',
271274
},
272275
staticDirectories: ['node_modules/@apify/docs-theme/static', 'static'],
276+
customFields: {
277+
...config.customFields ?? [],
278+
},
273279
};

0 commit comments

Comments
 (0)