Move search config

Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Nick Slowinski 2024-05-11 09:57:07 +02:00
Ursprung ca1c41d451
Commit 9f9166dc00
Signiert von: nickslowinski
GPG-Schlüssel-ID: A28671573AA347CC

Datei anzeigen

@ -29,11 +29,6 @@ const config: Config = {
locales: ['de'], locales: ['de'],
}, },
// Plugins
plugins: [[ require.resolve('docusaurus-lunr-search'), {
languages: ['de']
}]],
presets: [ presets: [
[ [
'classic', 'classic',
@ -64,6 +59,11 @@ const config: Config = {
], ],
], ],
plugins: [ plugins: [
[ require.resolve('docusaurus-lunr-search'),
{
languages: ['de']
}
],
[ [
'@docusaurus/plugin-content-docs', '@docusaurus/plugin-content-docs',
{ {
@ -190,4 +190,4 @@ const config: Config = {
} satisfies Preset.ThemeConfig, } satisfies Preset.ThemeConfig,
}; };
export default config; export default config;