Skip to content

Commit d484a9c

Browse files
authored
docs: respect scripts and customFields from shared config (#526)
1 parent 3a3f8f1 commit d484a9c

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
@@ -36,6 +36,7 @@ module.exports = {
3636
projectName: 'apify-sdk-python',
3737
scripts: ['/js/custom.js'],
3838
favicon: 'img/favicon.ico',
39+
scripts: [...(config.scripts ?? [])],
3940
githubHost: 'github.com',
4041
future: {
4142
experimental_faster: {
@@ -270,4 +271,7 @@ module.exports = {
270271
image: 'https://docs.apify.com/sdk/python/img/docs-og.png',
271272
},
272273
staticDirectories: ['node_modules/@apify/docs-theme/static', 'static'],
274+
customFields: {
275+
...(config.customFields ?? []),
276+
},
273277
};

0 commit comments

Comments
 (0)