Skip to content

Commit 0925f19

Browse files
committed
docs: add discord server widget and search
1 parent 099a574 commit 0925f19

File tree

5 files changed

+575
-4
lines changed

5 files changed

+575
-4
lines changed

docs/docusaurus.config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,18 @@ const config = {
4444
mermaid: true,
4545
},
4646

47-
themes: ["@docusaurus/theme-mermaid"],
47+
themes: [
48+
"@docusaurus/theme-mermaid",
49+
[
50+
require.resolve("@easyops-cn/docusaurus-search-local"),
51+
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
52+
({
53+
hashed: true,
54+
language: ["en"],
55+
indexPages: true,
56+
}),
57+
],
58+
],
4859

4960
themeConfig: {
5061
image: "img/logo_big.png",

0 commit comments

Comments
 (0)