Skip to content

Commit 4def2f4

Browse files
authored
Update Docusaurus metadata (reduxjs#3881)
* Update Docusaurus to alpha.64 * Fix validation issues and swap Twitter card config * Fix broken Immutable FAQ link Former-commit-id: ab0b746
1 parent b8aba47 commit 4def2f4

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3fb34cbeecfae68f4ea504c6fed7c618002e9a9e
1+
0bc33b24d5ef987d98dc222ac56457676b239a52

website/docusaurus.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,21 @@ module.exports = {
77
organizationName: 'reduxjs',
88
projectName: 'redux',
99
themeConfig: {
10-
image: 'https://redux.js.org/img/redux-logo-landscape.png',
11-
disableDarkMode: false,
10+
image: 'img/redux-logo-landscape.png',
11+
metadatas: [{ name: 'twitter:card', content: 'summary' }],
1212
prism: {
1313
theme: require('./src/js/monokaiTheme.js')
1414
},
15+
colorMode: {
16+
disableSwitch: false
17+
},
1518
navbar: {
1619
title: 'Redux',
17-
image: 'img/redux-logo-landscape.png',
1820
logo: {
1921
alt: 'Redux Logo',
2022
src: 'img/redux.svg'
2123
},
22-
links: [
24+
items: [
2325
{
2426
label: 'Getting Started',
2527
to: 'introduction/getting-started',

website/package-lock.json.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"deploy": "docusaurus deploy"
77
},
88
"dependencies": {
9-
"@docusaurus/core": "2.0.0-alpha.54",
10-
"@docusaurus/preset-classic": "2.0.0-alpha.54",
9+
"@docusaurus/core": "2.0.0-alpha.64",
10+
"@docusaurus/preset-classic": "2.0.0-alpha.64",
1111
"classnames": "2.2.6",
1212
"react": "16.13.0",
1313
"react-dom": "16.13.0"

0 commit comments

Comments
 (0)