Switch search provider to support translations
Alle Prüfungen waren erfolgreich
Build website / build (push) Successful in 47s

Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Nick Slowinski 2024-05-11 10:15:46 +02:00
Ursprung 9f9166dc00
Commit 5fbc4a0dce
Signiert von: nickslowinski
GPG-Schlüssel-ID: A28671573AA347CC
3 geänderte Dateien mit 354 neuen und 743 gelöschten Zeilen

Datei anzeigen

@ -59,10 +59,13 @@ const config: Config = {
], ],
], ],
plugins: [ plugins: [
[ require.resolve('docusaurus-lunr-search'), [ require.resolve("@easyops-cn/docusaurus-search-local"),
{ ({
languages: ['de'] hashed: true,
} language: ["de"],
docsDir: ["services", "info"],
indexPages: true,
}),
], ],
[ [
'@docusaurus/plugin-content-docs', '@docusaurus/plugin-content-docs',

1084
package-lock.json generiert

Datei-Diff unterdrückt, da er zu groß ist Diff laden

Datei anzeigen

@ -17,9 +17,9 @@
"dependencies": { "dependencies": {
"@docusaurus/core": "^3.3.2", "@docusaurus/core": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2", "@docusaurus/preset-classic": "^3.3.2",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@mdx-js/react": "^3.0.0", "@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"docusaurus-lunr-search": "^3.4.0",
"prism-react-renderer": "^2.3.0", "prism-react-renderer": "^2.3.0",
"react": "^18.0.0", "react": "^18.0.0",
"react-dom": "^18.0.0" "react-dom": "^18.0.0"