Skip to content

Commit

Permalink
chore: Upgrade docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Nov 20, 2023
1 parent 8f67879 commit 1308bc8
Show file tree
Hide file tree
Showing 3 changed files with 3,423 additions and 1,255 deletions.
5 changes: 3 additions & 2 deletions doc-site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// @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 { themes } = require('prism-react-renderer');
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
14 changes: 7 additions & 7 deletions doc-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"prism-react-renderer": "^2.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1"
"@docusaurus/module-type-aliases": "3.0.0"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit 1308bc8

Please sign in to comment.