Skip to content

Commit 3fb18c0

Browse files
authored
chore: upgrade docusaurus to v2.0.1 (#1049)
* chore: upgrade docusaurus to v2.0.1 * fix: change docker image to node 16 * fix: update node version to 16.15 * fix: bump node docker image to current
1 parent c1cc140 commit 3fb18c0

File tree

4 files changed

+4463
-6250
lines changed

4 files changed

+4463
-6250
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ aliases:
1212

1313
defaults: &defaults
1414
docker:
15-
- image: circleci/node:14
15+
- image: cimg/node:current
1616
working_directory: ~/react-native-testing-library
1717

1818
jobs:

website/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const siteConfig = {
1212
favicon: 'img/owl.png',
1313

1414
themeConfig: {
15-
sidebarCollapsible: false,
1615
navbar: {
1716
title,
1817
logo: {
@@ -48,8 +47,7 @@ const siteConfig = {
4847
{
4948
key: 3,
5049
label: 'Stack Overflow',
51-
href:
52-
'http://stackoverflow.com/questions/tagged/react-native-testing-library',
50+
href: 'http://stackoverflow.com/questions/tagged/react-native-testing-library',
5351
},
5452
{
5553
key: 4,
@@ -83,6 +81,7 @@ const siteConfig = {
8381
defaultLanguage: 'jsx',
8482
},
8583
algolia: {
84+
appId: 'BH4D9OD16A',
8685
apiKey: 'cd9b8b73f97b64ed04570e41c507683f',
8786
indexName: 'react-native-testing-library',
8887
},
@@ -96,6 +95,7 @@ const siteConfig = {
9695
sidebarPath: require.resolve('./sidebars.js'),
9796
// Please change this to your repo.
9897
editUrl: `${repoUrl}/blob/main`,
98+
sidebarCollapsible: false,
9999
},
100100
blog: {
101101
showReadingTime: true,

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"dependencies": {
1212
"@babel/core": "^7.11.1",
13-
"@docusaurus/core": "^2.0.0-alpha.61",
14-
"@docusaurus/preset-classic": "^2.0.0-alpha.61",
13+
"@docusaurus/core": "^2.0.1",
14+
"@docusaurus/preset-classic": "^2.0.1",
1515
"classnames": "^2.2.6",
1616
"react": "^16.8.4",
1717
"react-dom": "^16.8.4"

0 commit comments

Comments
 (0)