1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +01:00

chore: update docusaurus.config.js and package.json (#377)

Update docusaurus.config.js to add the "docusaurus-lunr-search" plugin and update package.json to use the latest versions of "@docusaurus/core" and "@docusaurus/preset-classic".
This commit is contained in:
Hichem Fantar 2024-05-27 14:32:48 +01:00 committed by GitHub
parent 046e738c10
commit a04f1bb6ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1544 additions and 864 deletions

View File

@ -56,7 +56,10 @@ module.exports = {
respectPrefersColorScheme: true,
},
},
plugins: ["docusaurus-plugin-sass"],
plugins: [
"docusaurus-plugin-sass",
require.resolve("docusaurus-lunr-search"),
],
presets: [
[
"@docusaurus/preset-classic",

2394
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,13 +14,14 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@docusaurus/core": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@fortawesome/fontawesome-svg-core": "^6.5.0",
"@fortawesome/free-solid-svg-icons": "^6.5.0",
"@fortawesome/react-fontawesome": "^0.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.1.0",
"docusaurus-lunr-search": "^3.4.0",
"docusaurus-plugin-sass": "~0.2.5",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.2",
@ -28,8 +29,8 @@
"sass": "^1.71.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.1.0",
"@docusaurus/types": "^3.1.0",
"@docusaurus/module-type-aliases": "^3.3.2",
"@docusaurus/types": "^3.3.2",
"raw-loader": "^4.0.2"
},
"browserslist": {