mirror of
https://github.com/actix/actix-website
synced 2024-11-27 10:02:57 +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:
parent
046e738c10
commit
a04f1bb6ff
@ -56,7 +56,10 @@ module.exports = {
|
|||||||
respectPrefersColorScheme: true,
|
respectPrefersColorScheme: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: ["docusaurus-plugin-sass"],
|
plugins: [
|
||||||
|
"docusaurus-plugin-sass",
|
||||||
|
require.resolve("docusaurus-lunr-search"),
|
||||||
|
],
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@docusaurus/preset-classic",
|
"@docusaurus/preset-classic",
|
||||||
|
2394
package-lock.json
generated
2394
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,13 +14,14 @@
|
|||||||
"write-heading-ids": "docusaurus write-heading-ids"
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^3.1.0",
|
"@docusaurus/core": "^3.3.2",
|
||||||
"@docusaurus/preset-classic": "^3.1.0",
|
"@docusaurus/preset-classic": "^3.3.2",
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.5.0",
|
"@fortawesome/fontawesome-svg-core": "^6.5.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.5.0",
|
"@fortawesome/free-solid-svg-icons": "^6.5.0",
|
||||||
"@fortawesome/react-fontawesome": "^0.2",
|
"@fortawesome/react-fontawesome": "^0.2",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"clsx": "^2.1.0",
|
"clsx": "^2.1.0",
|
||||||
|
"docusaurus-lunr-search": "^3.4.0",
|
||||||
"docusaurus-plugin-sass": "~0.2.5",
|
"docusaurus-plugin-sass": "~0.2.5",
|
||||||
"prism-react-renderer": "^2.3.0",
|
"prism-react-renderer": "^2.3.0",
|
||||||
"react": "^18.0.2",
|
"react": "^18.0.2",
|
||||||
@ -28,8 +29,8 @@
|
|||||||
"sass": "^1.71.0"
|
"sass": "^1.71.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^3.1.0",
|
"@docusaurus/module-type-aliases": "^3.3.2",
|
||||||
"@docusaurus/types": "^3.1.0",
|
"@docusaurus/types": "^3.3.2",
|
||||||
"raw-loader": "^4.0.2"
|
"raw-loader": "^4.0.2"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
|
Loading…
Reference in New Issue
Block a user