Skip to content

Commit

Permalink
Upgrade Docusaurus to v2 (#544)
Browse files Browse the repository at this point in the history
* Upgrade Docusaurus to v2

* Update docusaurus.config.js

* Update .nvmrc

* Update broken footer links

Co-authored-by: swyx <[email protected]>
  • Loading branch information
focusdev009 and swyxio committed Sep 5, 2022
1 parent 1da96db commit 69a542c
Show file tree
Hide file tree
Showing 4 changed files with 4,307 additions and 6,307 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.15.1
16.15.1
8 changes: 4 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ module.exports = {
},
{
label: "High Order Component (HOC)",
to: "docs/hoc/intro",
to: "docs/hoc",
},
{
label: "Advanced Guides",
to: "docs/advanced/intro",
to: "docs/advanced",
},
{
label: "Migrating",
to: "docs/migration/intro",
to: "docs/migration",
},
{
label: "Contributing",
Expand Down Expand Up @@ -176,7 +176,7 @@ module.exports = {
algolia: {
apiKey: "e1c87cdc9c52f8ccf84ceb7f9e18bcd3",
indexName: "react-typescript-cheatsheet",
// appId: "",
appId: "J65EL4UPXZ",
algoliaOptions: {
//... },
},
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"deploy": "yarn add-pages-on-site && docusaurus deploy"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.61",
"@docusaurus/preset-classic": "^2.0.0-alpha.61",
"@docusaurus/core": "^2.1.0",
"@docusaurus/preset-classic": "^2.1.0",
"classnames": "^2.2.6",
"react": "^16.13.1",
"react-dom": "^16.13.1"
Expand Down
Loading

0 comments on commit 69a542c

Please sign in to comment.