Skip to content
Snippets Groups Projects
Commit 85b6d5c0 authored by Ilya Zhukov's avatar Ilya Zhukov
Browse files

Remove broken search.

parent 7616fdee
Branches
No related tags found
No related merge requests found
Pipeline #221971 failed
...@@ -21,6 +21,9 @@ const config: Config = { ...@@ -21,6 +21,9 @@ const config: Config = {
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',
//plugins
plugins: [require.resolve('docusaurus-lunr-search')],
// Even if you don't use internationalization, you can use this field to set // Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you // useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans". // may want to replace "en" with "zh-Hans".
...@@ -56,19 +59,7 @@ const config: Config = { ...@@ -56,19 +59,7 @@ const config: Config = {
themes: [ themes: [
// ... Your other themes. // ... Your other themes.
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
indexDocs: true,
}),
], ],
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment