Skip to content

Commit

Permalink
Update docs to Docusaurus 3
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma committed Aug 10, 2024
1 parent d482e6e commit b2726c6
Show file tree
Hide file tree
Showing 3 changed files with 4,884 additions and 4,142 deletions.
6 changes: 4 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {themes as prismThemes} from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'sbt-github',
Expand Down Expand Up @@ -70,8 +72,8 @@ const config = {
],
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['java', 'scala'],
},
}),
Expand Down
20 changes: 10 additions & 10 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.3.1",
"@docusaurus/preset-classic": "2.3.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.0",
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.3.1"
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/types": "3.0.0"
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
}
}
}
Loading

0 comments on commit b2726c6

Please sign in to comment.