mirror of
https://github.com/mfocko/blog.git
synced 2024-11-22 13:03:47 +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
|
// @ts-check
|
||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
|
||||||
const lightCodeTheme = require("prism-react-renderer/themes/vsLight");
|
const {themes} = require("prism-react-renderer");
|
||||||
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
const lightCodeTheme = themes.vsLight;
|
||||||
|
const darkCodeTheme = themes.dracula;
|
||||||
|
|
||||||
const math = require("remark-math");
|
const math = require("remark-math");
|
||||||
const katex = require("rehype-katex");
|
const katex = require("rehype-katex");
|
||||||
|
@ -226,6 +227,7 @@ const config = {
|
||||||
"java",
|
"java",
|
||||||
"nix",
|
"nix",
|
||||||
"pascal",
|
"pascal",
|
||||||
|
"python",
|
||||||
"ruby",
|
"ruby",
|
||||||
"rust",
|
"rust",
|
||||||
],
|
],
|
||||||
|
|
20
package.json
20
package.json
|
@ -14,24 +14,24 @@
|
||||||
"write-heading-ids": "docusaurus write-heading-ids"
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^2.4.1",
|
"@docusaurus/core": "^3.0.0",
|
||||||
"@docusaurus/preset-classic": "^2.4.1",
|
"@docusaurus/preset-classic": "^3.0.0",
|
||||||
"@docusaurus/theme-mermaid": "^2.4.1",
|
"@docusaurus/theme-mermaid": "^3.0.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"docusaurus-plugin-sass": "^0.2.4",
|
"docusaurus-plugin-sass": "^0.2.4",
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.0.3",
|
||||||
"hast-util-is-element": "^1.1.0",
|
"hast-util-is-element": "^1.1.0",
|
||||||
"prism": "^4.1.2",
|
"prism": "^4.1.2",
|
||||||
"prism-react-renderer": "^1.3.5",
|
"prism-react-renderer": "^2.1.0",
|
||||||
"react": "^17.0.2",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^18.2.0",
|
||||||
"rehype-katex": "^5.0.0",
|
"rehype-katex": "7",
|
||||||
"remark-math": "^3.0.1",
|
"remark-math": "6",
|
||||||
"sass": "^1.63.6"
|
"sass": "^1.63.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^2.4.1"
|
"@docusaurus/module-type-aliases": "^3.0.0"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
|
Loading…
Reference in a new issue