Skip to content

Commit

Permalink
Chore: Upgrade Docusaurus (#129)
Browse files Browse the repository at this point in the history
Thank you!
  • Loading branch information
Barocena authored Jan 10, 2024
1 parent 7867d10 commit 63a14b8
Show file tree
Hide file tree
Showing 8 changed files with 11,165 additions and 18,254 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- name: Install Node.js Dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 1
title: Installation
---

import Tabs from "@theme/Tabs";
Expand Down
1 change: 1 addition & 0 deletions docs/sync-details.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_position: 5
title: Sync Details
---

# Sync Details
Expand Down
5 changes: 3 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;

const redirects = require("./redirects.js");

Expand Down Expand Up @@ -123,6 +123,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ["json"],
},
},

Expand Down
29,383 changes: 11,143 additions & 18,240 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,25 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.4.1",
"@docusaurus/plugin-client-redirects": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@mdx-js/react": "^1.6.21",
"@docusaurus/core": "^3.1.0",
"@docusaurus/plugin-client-redirects": "^3.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@docusaurus/theme-mermaid": "^3.1.0",
"@mdx-js/react": "^3.0.0",
"@svgr/webpack": "^8.0.1",
"docusaurus-lunr-search": "^2.1.14",
"docusaurus-lunr-search": "3.3.2",
"file-loader": "^6.2.0",
"mdx-mermaid": "^1.3.2",
"mdx-mermaid": "^2.0.0",
"mermaid": "^10.3.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"prism-react-renderer": "^2.3.1",
"react": "18.0.0",
"react-dom": "18.0.0",
"url-loader": "^4.1.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/types": "3.0.0"
},
"browserslist": {
"production": [
">0.5%",
Expand Down
2 changes: 1 addition & 1 deletion versioned_sidebars/version-v0.5-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v0.5/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion versioned_sidebars/version-v6-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v6/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down

0 comments on commit 63a14b8

Please sign in to comment.