Skip to content

Commit 9caf13f

Browse files
committed
add dark mode switch
1 parent 705c14b commit 9caf13f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docusaurus.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,11 @@ module.exports = {
103103
],
104104
copyright: `Copyright: © ${new Date().getFullYear()} Redis Labs. Redis and the cube logo are registered trademarks of Redis Labs Ltd.`,
105105
},
106-
algolia: {
107-
apiKey: 'YOUR_API_KEY',
108-
indexName: 'YOUR_INDEX_NAME',
109106

110-
// Optional: see doc section bellow
111-
contextualSearch: true,
112-
113-
// Optional: Algolia search parameters
114-
searchParameters: {},
115-
},
116107
colorMode: {
117108
// Hides the switch in the navbar
118109
// Useful if you want to support a single color mode
119-
disableSwitch: true,
110+
disableSwitch: false,
120111
},
121112
announcementBar: {
122113
id: 'sample', // Any value that will identify this message.

0 commit comments

Comments
 (0)