Skip to content

Commit 9433ed0

Browse files
chore: update docusaurus version (#986)
* feat: enable respectPrefersColorScheme * ci: specify node version * ci: specify node version * chore: add serve script * disable trailing slash * switch to node-version * details styling * details styling * remove trailingSlash setting
1 parent 03420de commit 9433ed0

File tree

5 files changed

+37826
-17713
lines changed

5 files changed

+37826
-17713
lines changed

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ module.exports = {
237237
],
238238
plugins: [],
239239
themeConfig: {
240+
image: 'img/octopus-128x128.png',
241+
colorMode: {
242+
defaultMode: 'light',
243+
disableSwitch: false,
244+
respectPrefersColorScheme: true,
245+
},
240246
navbar: {
241247
title: 'Testing Library',
242248
logo: {
@@ -267,7 +273,6 @@ module.exports = {
267273
},
268274
],
269275
},
270-
image: 'img/octopus-128x128.png',
271276
footer: {
272277
links: [
273278
{

0 commit comments

Comments
 (0)