Skip to content

Commit 55a70f3

Browse files
committed
Update DS config with fixes for metadata and search keys
1 parent 5bb1f11 commit 55a70f3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

website/docusaurus.config.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ module.exports = {
5050
theme: {
5151
customCss: require.resolve('./src/css/custom.css'),
5252
},
53+
googleAnalytics: {
54+
trackingID: 'UA-130598673-3',
55+
},
5356
},
5457
],
5558
],
@@ -64,7 +67,7 @@ module.exports = {
6467
repoUrl: 'https://github.com/reduxjs/redux-toolkit',
6568
},
6669
themeConfig: {
67-
metadatas: [{ name: 'twitter:card', content: 'summary' }],
70+
metadata: [{ name: 'twitter:card', content: 'summary' }],
6871
prism: {
6972
theme: require('./src/js/monokaiTheme.js'),
7073
},
@@ -160,12 +163,10 @@ module.exports = {
160163
copyright: `Copyright © 2015–${new Date().getFullYear()} Dan Abramov and the Redux documentation authors.`,
161164
},
162165
algolia: {
163-
apiKey: '82d838443b672336bf63cab4772d9eb4',
166+
appId: 'CK59DFV0FC',
167+
apiKey: '98e886dfbcde7f7e8ec8d7ff1c2c34c8',
164168
indexName: 'redux-starter-kit',
165-
searchParameters: {},
166-
},
167-
googleAnalytics: {
168-
trackingID: 'UA-130598673-3',
169+
algoliaOptions: {},
169170
},
170171
},
171172
}

0 commit comments

Comments
 (0)