feat(search): replace docsearch with slimsearch for improved local search performance

This commit is contained in:
Janik von Rotz committed 2025-08-14 10:54:42 +02:00
1 parent ec6f692119
commit d47f342ea1
4 files changed
+1257 -18

No files matched your search

-1
View File
@@ -8,7 +8,6 @@
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.23",
"@vuepress/client": "^2.0.0-rc.23",
"@vuepress/plugin-search": "^2.0.0-rc.106",
"@vuepress/plugin-shiki": "^2.0.0-rc.106",
"@vuepress/plugin-slimsearch": "2.0.0-rc.112",
"@vuepress/theme-default": "^2.0.0-rc.106",
-17
View File
@@ -14,9 +14,6 @@ importers:
'@vuepress/client':
specifier: ^2.0.0-rc.23
version: 2.0.0-rc.23
'@vuepress/plugin-search':
specifier: ^2.0.0-rc.106
version: 2.0.0-rc.106(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))
'@vuepress/plugin-shiki':
specifier: ^2.0.0-rc.106
version: 2.0.0-rc.106(@vueuse/core@13.2.0(vue@3.5.15))(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))
@@ -781,11 +778,6 @@ packages:
peerDependencies:
vuepress: 2.0.0-rc.23
'@vuepress/plugin-search@2.0.0-rc.106':
resolution: {integrity: sha512-Bgz7ar19v2WtXb5fMps9Uvc46vUYSYX1HFp2texZ8/vkVhVW6xjpZeNc5abUqzi7Xh/dcGAI7/fzqyTcYnFO7Q==}
peerDependencies:
vuepress: 2.0.0-rc.23
'@vuepress/plugin-seo@2.0.0-rc.106':
resolution: {integrity: sha512-eFh5O2g/I50N3oWXCPSo2EMqhXZmVS9ttnUBqO17vhXQbUOC6uUZvFeOh9IfZ1n+39ZNfmA3+UVgKUIie60PBA==}
peerDependencies:
@@ -2976,15 +2968,6 @@ snapshots:
- '@vueuse/core'
- typescript
'@vuepress/plugin-search@2.0.0-rc.106(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))':
dependencies:
'@vuepress/helper': 2.0.0-rc.106(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))
chokidar: 3.6.0
vue: 3.5.15
vuepress: 2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15)
transitivePeerDependencies:
- typescript
'@vuepress/plugin-seo@2.0.0-rc.106(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))':
dependencies:
'@vuepress/helper': 2.0.0-rc.106(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.21)(sass-embedded@1.89.0))(vue@3.5.15))
+1254
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -0,0 +1,3 @@
feat(search): replace docsearch with slimsearch for improved local search performance
The commit replaces the Algolia DocSearch plugin with VuePress's slimsearch plugin to enhance local search functionality. This change removes external dependencies on Algolia services and implements a lightweight, client-side search solution with content indexing enabled and suggestions disabled for faster performance. The configuration updates include removing docsearch-specific settings and adding slimsearch with optimized options. Additionally, the package dependencies have been updated to reflect this change.