mirror of
https://github.com/mfocko/blog.git
synced 2024-11-10 00:09:07 +01:00
chore: upgrade to docusaurus v3
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
31424770ce
commit
f81d3219e6
3 changed files with 3477 additions and 2256 deletions
|
@ -1,8 +1,9 @@
|
|||
// @ts-check
|
||||
// Note: type annotations allow type checking and IDEs autocompletion
|
||||
|
||||
const lightCodeTheme = require("prism-react-renderer/themes/vsLight");
|
||||
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
||||
const {themes} = require("prism-react-renderer");
|
||||
const lightCodeTheme = themes.vsLight;
|
||||
const darkCodeTheme = themes.dracula;
|
||||
|
||||
const math = require("remark-math");
|
||||
const katex = require("rehype-katex");
|
||||
|
@ -226,6 +227,7 @@ const config = {
|
|||
"java",
|
||||
"nix",
|
||||
"pascal",
|
||||
"python",
|
||||
"ruby",
|
||||
"rust",
|
||||
],
|
||||
|
|
20
package.json
20
package.json
|
@ -14,24 +14,24 @@
|
|||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.4.1",
|
||||
"@docusaurus/preset-classic": "^2.4.1",
|
||||
"@docusaurus/theme-mermaid": "^2.4.1",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@docusaurus/core": "^3.0.0",
|
||||
"@docusaurus/preset-classic": "^3.0.0",
|
||||
"@docusaurus/theme-mermaid": "^3.0.0",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^1.2.1",
|
||||
"docusaurus-plugin-sass": "^0.2.4",
|
||||
"dotenv": "^16.0.3",
|
||||
"hast-util-is-element": "^1.1.0",
|
||||
"prism": "^4.1.2",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"rehype-katex": "^5.0.0",
|
||||
"remark-math": "^3.0.1",
|
||||
"prism-react-renderer": "^2.1.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"rehype-katex": "7",
|
||||
"remark-math": "6",
|
||||
"sass": "^1.63.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "^2.4.1"
|
||||
"@docusaurus/module-type-aliases": "^3.0.0"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
Loading…
Reference in a new issue