Switch search provider to support translations
Alle Prüfungen waren erfolgreich
Build website / build (push) Successful in 47s
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:
Ursprung
9f9166dc00
Commit
5fbc4a0dce
3 geänderte Dateien mit 354 neuen und 743 gelöschten Zeilen
|
@ -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
1084
package-lock.json
generiert
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
|
@ -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"
|
||||||
|
|
Laden …
In neuem Issue referenzieren